Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't mix scoped and non scoped styles #4

Open
icarito opened this issue Aug 10, 2019 · 2 comments
Open

Can't mix scoped and non scoped styles #4

icarito opened this issue Aug 10, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@icarito
Copy link

icarito commented Aug 10, 2019

It is mentioned in VueJS's docs that this is possible:
https://vue-loader.vuejs.org/guide/scoped-css.html#mixing-local-and-global-styles

But trying it didn't work as it seemed to only render the scoped style.

@manatlan
Copy link
Owner

it should work as expected ... what is the trouble ? (an example ?)

@manatlan
Copy link
Owner

yes, you're right ...
All my tested scope was with ":scope" like this :

<template>
  <div id="y">Hello Worldo</div>
</template>
<style scoped>
  :scope {background:yellow}
</style>
<style>
  div {border:2px solid red}
</style>

and it works, test in https://manatlan.alwaysdata.net/vbuild/index.html
but it's weird

@manatlan manatlan added the bug Something isn't working label Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants