-
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
.vuepress/style.styl not loaded #883
Comments
In the meantime, adding palette to module.exports = {
palette: {
$accentColor = #000
}
} Wondering if having multiple ways to do the same thing doesn't complicate too much the code and its maintainability, I would much prefer to have one opinionated way to do things, but understand other may prefer other ways and/or that is done on purpose so that any plugin/submodule, etc, can configure/bypass defaults. If there are breaking changes form 0.x to 1.x I would definitely not add support keeping pre 1.x stuff working and provide instead an upgrade guide. Btw, @ulivz Thanks! You have done an amazing work on this 1.0alpha !! |
@x8x no, the solution doesn't work for me, I understand about the palette and implement that instead of deprecated
Are u using |
@x8x Maybe you confused the responsibilities of But now, I even have not officially announced the release yet, so please wait. BTW, for those new APIs not being documented now, please use it until it's stable and documented. or I'll close it if you created issue for this . |
for quick fix this issue: // .vuepress/config.js
const path = require('path')
module.exports = {
palette: path.resolve(__dirname, 'palette.styl'),
} // .vuepress/palette.styl
$accentColor = #008080
@import './style.styl'
|
@ekoeryanto Do not write styles in |
Thanks, I'll rename it until it's fixed 😄 |
Sorry but I cannot reproduce it. |
I confirmed again and it works, I think you should be careful before creating an issue, please treasure each other's time. |
@ulivz, I did clean cache and temp dir but still config.styl not loaded. Sorry for this, I'll recheck my env |
@ulivz Right! Confused |
Same here with the palette. I've tried to use So I rollback to 0.14.4 because of confusing docs on https://vuepress.vuejs.org/config/#styling - the only way that work for me is the use of an |
@rwam If you are using 0.14.x, you should go to https://v0.vuepress.vuejs.org (Please have a good look at README.). and for the next version, since it is still in the alpha stage, all APIs are not yet fully determined, as well as all documents. |
Bug report
Version
1.0
Steps to reproduce
What is expected?
What is actually happening?
Other relevant information
The text was updated successfully, but these errors were encountered: