Create a vuepress-theme-hope project in
[dir] folder under the current project:
config is just a helper function, it will give you config description and provide auto-completion through TS’s Interface and JSDoc.
At the same time, the
config function will also complete some default configurations for your current configuration which will pass directly to VuePress. Don’t worry it will change your config! It will respect every config you make to make sure your other plugins work well.
We are also providing
sidebarConfig helper to provide similar experience in case you split your config in to several files.
You can view Config of this site (opens new window) as an example.