Skip to content

Based on vitepress, integrated ts, and other simple configuration, themes, etc., out of the box, write documents.

License

Notifications You must be signed in to change notification settings

yaoxfly/vitepress-template

Repository files navigation

English | 中文

Vitepress-template

Based on vitepress, integrates Typescript, and other simple configurations, themes, etc., out of the box, and a tool for writing documents

Basic configuration

  • 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

Use

Run

pnpm run dev

Pack

pnpm run  build

Preview

pnpm run serve 
or
pnpm run preview // Run pnpm run build and then run pnpm run serve

The preview operation can only be performed after packaging

Demo address

Ctrl+click to open in new tab Template sample online access

About

Based on vitepress, integrated ts, and other simple configuration, themes, etc., out of the box, write documents.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published