Based on vitepress, integrates Typescript, and other simple configurations, themes, etc., out of the box, and a tool for writing documents
- Typescript
- Automatically register global components
- Eslint
- Custom theme
ESLint ignored by default . The beginning of the directory, .eslint ignore set in !docs/.vitepress Do not let ignore.vitepress
Run
pnpm run devPack
pnpm run buildPreview
pnpm run serve
or
pnpm run preview // Run pnpm run build and then run pnpm run serveThe preview operation can only be performed after packaging
Ctrl+click to open in new tab Template sample online access