forked from mirror/NitWikit
改为pnpm
This commit is contained in:
parent
f9a2cf4fe9
commit
ac51de2c30
10
README.md
10
README.md
@ -41,18 +41,20 @@ https://nitwikit.yizhan.wiki/
|
||||
# 🔨 构建文档
|
||||
|
||||
> [!NOTE]
|
||||
> 请先安装 Node.js 和 npm
|
||||
> 请先安装 Node.js 和 pnpm
|
||||
|
||||
1. 将此仓库克隆至本地
|
||||
`git clone https://github.com/postyizhan/NitWikit.git`
|
||||
2. 移动至仓库根目录
|
||||
`cd NitWikit`
|
||||
3. 安装依赖
|
||||
`npm install`
|
||||
`pnpm install`
|
||||
4. 构建文档
|
||||
`npm run build`
|
||||
`pnpm build`
|
||||
5. 部署测试网站
|
||||
`npm run serve`
|
||||
`pnpm serve`
|
||||
6. 一键构建&测试
|
||||
`pnpm test`
|
||||
|
||||
# ⬆️ 提交贡献
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user