-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
[Bug Report] stylus block level import not working #4864
Comments
Did you ever find a solution for this? |
This comment has been minimized.
This comment has been minimized.
It would seem the problems comes from webpack rather than stylus itself or vuetify itself. I messed around a bit in the vuetify core I managed to get some this error at some point :
As you can see here, the Since I know exactly nothing about webpack, I'm not really sure if that's a lead. Maybe someone will be able to dig a bit deeper with these new elements. Please note that I am using this loader for webpack : https://github.com/shama/stylus-loader and that I'm managing my project with That being said, the only way I found to avoid the issue was to build my custom
The neat thing is that
In another shell, the
Then include your compiled I hope this helps some folks. |
The same problem. Any solutions? Without compiling to css format |
I've used
|
Closing as we're moving to sass |
This issue is a continuation of #1902 (comment)
Versions and Environment
Vuetify: 1.1.10
Vue: 2.5.17
Browsers: n/a
OS: Linux
Steps to reproduce
using a stylus block level import:
src/stylus/main.styl
This is to ensure that the vuetify css doesn't interfere with elements from other parts of the page which aren't using vuetify.
Expected Behavior
no error, styles are scoped with the block
Actual Behavior
The text was updated successfully, but these errors were encountered: