Api 端
使用 VS2022 打开 Admin.NET/Admin.NET.sln,设置 Admin.NET.Web.Entry 为启动项目,F5 开始调试
Web、Pda端
版本要求 Node >= 18,下载地址,或者可以使用 nvm 进行 node 版本管理,下载地址。
项目使用 pnpm 管理,直接安装
shell
npm install -g pnpm1
设置 pnpm 镜像地址
shell
# 设置淘宝镜像源-新
pnpm config set registry=https://registry.npmmirror.com
# 查看当前镜像
pnpm config get registry1
2
3
4
5
2
3
4
5
启动
shell
# 安装依赖
pnpm install
# 运行
pnpm dev1
2
3
4
5
2
3
4
5
其他操作
shell
# 打包
pnpm build
# 更新依赖
pnpm update1
2
3
4
5
2
3
4
5