This commit is contained in:
2023-07-18 01:11:42 +08:00
parent 6448bd8709
commit 5fbc3082c7
45 changed files with 516 additions and 666 deletions

7
docs/oth/_category_.json Normal file
View File

@@ -0,0 +1,7 @@
{
"label": "其他常用",
"position": 5,
"link": {
"type": "generated-index"
}
}

18
docs/oth/a.md Normal file
View File

@@ -0,0 +1,18 @@
---
sidebar_position: 1
---
# 一些命令
```shell title='在 Windows 环境下,项目打包成 zip 文件:'
# rem 请将“my-site”替换为您想要命名的 zip 文件名称,这将创建一个名为 "my-site.zip" 的 zip 文件。
powershell Compress-Archive -Path build -DestinationPath my-site.zip
```
```shell title='docusaurus 常用命令'
pnpm run build # 构建
pnpm run start # 启动
pnpm run serve # 启动(服务模式)
```