-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Question: how to import 3rd party stylus libraries? #1976
Comments
Ok ... with some random experimentation and consultation of the stylus-loader package doc, the following works:
I'll leave the issue open, though; I think the documentation should be improved to mention the tilde as many VuePress users might not be familiar with stylus-loader. |
Sounds like you are not familiar with vue or webpack. Any module needs to begin with a |
Well first of all I'm not familiar with stylus ... or how closely its integrated with other tools. If I put It might be good to put in the VuePress doc under styling a link to the stylus loader doc. |
What about less or sass? They also need |
As @shaunc said, I think it would be great to improve documentation with an example on this topic. Contributions welcome ! |
I will try to take this as my first issue. |
I just tried to install normalize-styl. After install, it suggests that I can use simply by
@import 'normalize'
. I included this in.vuepress/styles/index.styl
, but it didn't work.Do I have to do some extra configuration somewhere? Perhaps instructions or link could be put in the doc under styling?
The text was updated successfully, but these errors were encountered: