Note
To configure base url, modify contents/.vitepress/hooks/useBaseUrl.ts
.
- i18n - multi-language support.
- Animation on theme changing - View Transitions API.
- taze - 🥦 keep your dependencies fresh.🥦
- Pre-configured main page, navbars, sidebars.
- twoslash - Add a hint of TypeScript compiler in code.
- eslint - check and format codes and markdowns.
medium-zoom
- images zoom on click.- UnoCSS - Instant On-demand Atomic CSS Engine
-
Create repo from GitHub template.
-
Clone to local without
.git
folder.
npx degit https://github.com/Vincent-the-gamer/vitepress-starter.git your-project-name
# pnpm
pnpx degit https://github.com/Vincent-the-gamer/vitepress-starter.git your-project-name
pnpm i
pnpm run serve
pnpm run lint:fix
pnpm run build
pnpm run dep