[add]docs &
This commit is contained in:
parent
e71bbf3eb5
commit
6dada9d542
23
docs/guides/paopao-ce部署.md
Normal file
23
docs/guides/paopao-ce部署.md
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
## 本地开发模式运行 paopao ce的vue前端
|
||||
|
||||
1. nodejs 安装
|
||||
|
||||
2. clone前端代码到本机
|
||||
```shell
|
||||
git clone http://60.204.241.255:8066/whz/paopao-web.git
|
||||
```
|
||||
3. 修改配置文件
|
||||
|
||||
- 将项目中的.env文件复制为.env.local
|
||||
|
||||
- 修改.env.local中VITE_HOST指向实际的后端服务地址
|
||||
```properties
|
||||
VITE_HOST="http://localhost:8080"
|
||||
```
|
||||
|
||||
4. 运行
|
||||
```shell
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
@ -148,6 +148,12 @@ public class UserController {
|
||||
```
|
||||
7. **测试**
|
||||
|
||||
集成paopao ce的vue前端进行测试。
|
||||
|
||||
- [部署前端](../guides/paopao-ce部署.md)
|
||||
- 运行本项目
|
||||
- 访问 [http://localhost:5173/](http://localhost:5173/)
|
||||
|
||||
### 技术/工具需求:
|
||||
- [列出完成任务所需的技术栈、工具、软件版本等。]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user