Files
x_admin/docs/admin/准备.md
2024-06-28 16:21:11 +08:00

33 lines
555 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 前期准备
前端
1. 安装 node
2. 安装 pnpm推荐
3. 安装 git
# 使用
### 下载项目
```bash
# 二选一
git clone git@gitee.com:xiangheng/x_admin.git
git clone git@github.com:adtkcn/x_admin.git
```
### 运行前端
1. 复制并重命名`x_admin/admin/.env.development.example``x_admin/admin/.env.development`文件,
2. `.env.development`必须配置 `VITE_APP_BASE_URL`后端地址信息。
```bash
cd x_admin/admin
# 安装依赖
pnpm install
# 运行
pnpm run dev
```
<!-- <<< @/../admin/package.json#snippet{6-14} -->