This project was generated using Nx.
You first need to install the plugin to your workspace
npm i -D @ahryman40k/nx-vitepress
then you can add as many vitepress projects to your workspace
nx g @ahryman40k/nx-vitepress:app
Vitepress project is initialized with
- a dark/light theme switcher
- a custom toolbar
- a predefined navbar
- an home page
the vitepress project declares 3 commands:
nx build --project your_doc_project
to build your documentation projectnx serve --project your_doc_project
to serve your documentation projectnx dev --project your_doc_project
to serve your documentation project for development purpose (hot reload, ...)
The addin also support custom directory.
nx g @ahryman40k/nx-vitepress:app --directory your_custom_dir