- Node.js version 18 or higher.
- Text Editor with Markdown syntax support.
- VSCode is recommended, along with the official Vue extension.
follow steps below to start the dev server
-
corepack enable pnpm
to use pnpm -
pnpm i
to install dependency -
npm run docs:dev
The dev server should be running at http://localhost:5173. Visit the URL in your browser to see your new site in action!
├─ src
| ├─ blog # blog file /blog/xxx
| ├─ guide # /guide/xxx
| ├─ rfcs # /rfcs/xxx
| ├─ public # you can put resource here
| ├─ utils # some utils
| ├─ index.md # home page;
| ├─ zhcn # 中文文档 same as src; config at ./vitepress/config.mts [locales.zhcn.themeConfig]