Skip to content

Conversation

lazzzis
Copy link
Contributor

@lazzzis lazzzis commented Apr 14, 2018

According to the docs, to use a custom layout, I should create a .vuepress/theme directory in your docs root, and then create a Layout.vue file.

But vuepress throws an error, when I follow this instruction.

I found thethemeDir should be path.resolve(vuepressDir, 'theme'), which would be /.vuepress/theme, instead of path.resolve(sourceDir, 'theme'), which would be /theme/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants