Hello.
I'm trying to get started with a custom theme, but I really would love to just tinker with the existing theme and adapt it to my needs, without starting entirely from scratch.
Is there a way to load the default theme into .vuepress? Preferably via a terminal command provided via vuepress.
But I guess doing a sparse checkout of a repo will do it too for now.
Just tried - this does not work, because the default theme does not work as standalone and relies on some files in e.g. ../app
Having the default theme as standalone in another repo would be awesome
Yeah, that's a good idea actually. Will make it possible in next release.
Seems like it's achievable with vuepress eject
E.g.:
vuepress eject docs would eject default theme into your_project/docs/.vuepress/theme/
@rafalolszewski94 I think this this was just built into vuepress, but this is not done yet, I believe, as the theme is not yet available as standalone. I still get errors about @import '~@temp/override.styl'
Full vuepress dev log:
https://gist.github.com/MartinMuzatko/87b3a102801de88097c09715fd679f82
Maybe this is related to your issue: #77
I get this error only with CI, locally it runs smooth with default theme ejected. It might be connected though.
Also, it seems when you comment out docs/.vuepress/theme/styles/config.styl:17 this line (after you eject the default theme). It doesn't throw this error (seems like this file doesn't exist anywhere, nor the alias for ~@temp)
Most helpful comment
Yeah, that's a good idea actually. Will make it possible in next release.