@ahryman40k/nx-vitepress
v15.1.1
Published
Vitepress adddin for Nx
Downloads
182
Readme
Ahryman40k
This project was generated using Nx.
Install the plugin
You first need to install the plugin to your workspace
npm i -D @ahryman40k/nx-vitepress
Add a vitepress project to workspace
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 declare 3 commands:
nx build --project your_doc_projectto build your documentation projectnx serve --project your_doc_projectto serve your documentation projectnx dev --project your_doc_projectto 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
