mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-31 06:23:47 +00:00
fix #754 add set port guide
This commit is contained in:
@@ -109,7 +109,7 @@ git clone https://github.com/zuiidea/antd-admin.git
|
||||
|
||||
```bash
|
||||
#开始前请确保没有安装roadhog、webpack到NPM全局目录
|
||||
npm i 或者 yarn install
|
||||
yarn install或者 npm i
|
||||
```
|
||||
|
||||
开发:
|
||||
@@ -117,7 +117,7 @@ npm i 或者 yarn install
|
||||
```bash
|
||||
npm run build:dll #第一次npm run dev时需运行此命令,使开发时编译更快
|
||||
npm run dev
|
||||
打开 http://localhost:8000
|
||||
打开 http://localhost:8000 #端口在package.json中cross-env后加上 PORT=8000指定
|
||||
```
|
||||
|
||||
构建:
|
||||
|
||||
Reference in New Issue
Block a user