Skip to content

VitePress

由 Vite 和 Vue 驱动的静态站点生成器

1、VitePress框架部署(如下)⇓⇓⇓           2、Github仓库的创建和文件的上传与更新

介绍

OASB.CN:耶系-资源-经验社区-贰耶的开源项目文档

软件架构

vitepress

环境

npm install -D vitepress
yarn add -D vitepress

向导

npx vitepress init
T  Welcome to VitePress!
|
o  Where should VitePress initialize the config?
|  ./
|
o  Site title:
|  12yyyyy
|
o  Site description:
|  TB
|
o  Theme:
|  Default Theme
|
o  Use TypeScript for config and theme files?
|  Yes
|
o  Add VitePress npm scripts to package.json?
|  Yes
|
—  Done! Now run npm run docs:dev and start writing.

PS C:\Users\HA\Desktop\my-1>

开发

npm run docs:dev

编译

npm run docs:build