#### **打开后台页面根目录执行以下命令**
```
npm run build
```
#### **nginx配置代理域名(配置在伪静态里)**
```
location /api {
proxy_pass 'http://www.lvacms2.0.com/api';
}
```
![](https://img.kancloud.cn/65/e8/65e836c785ecd2125e95181d3eeeffb6_800x630.png)
![](https://img.kancloud.cn/74/eb/74eb5fb56524cb516e0e361d58ba128c_800x630.png)