-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
- I confirm that this is a issue rather than a question.
Bug report
.vuepress/style.styl can not use in production enviroment,but in development enviroment is available
when I vuepress
Version
0.14.4
Steps to reproduce
I want to override some of the styles. I created .vuepress/style.styl and it took effect after I vuepress dev
it, but it didn't take effect after I vuepress build
it.
I tried both on windows and CentOS, and they all had the same effect.
Do I need additional configuration to add this file? I didn't see it in the document.
What is expected?
I hope than .vuepress/style.styl
can use in dev and prod enviroment。
This is my css:
This is dev:
This is prod:
I found a way to solve my problem,add !important
like this :
What is actually happening?
After I build it, .vuepress/style.styl
didn't work.
Other relevant information
- Your OS: Win 10 1803 and CentOS7
- Node.js version: 10.13.0
- Browser version: 70.0.3538.77
- Is this a global or local install? I've tried all of it
- Which package manager did you use for the install? yarn
Metadata
Metadata
Assignees
Labels
No labels