fix: fix docs (#98)

Co-authored-by: houling <houling@tuhu.cn>
This commit is contained in:
houling 2022-02-09 10:08:47 +08:00 committed by GitHub
parent 905f4bc33f
commit 9aca54ce60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ export default {
publicPath: '/',
devServer: {
port: 8080
}
},
mock: {
prefix: '/v2'
},
@ -47,7 +47,7 @@ export default { mock: false };
// .fes.local.js
export default {
mock: true,
dvServer: { port: 8080 }
devServer: { port: 8080 }
};
```
最终的配置是:
@ -72,7 +72,7 @@ export default { mock: false };
// .fes.uat.js
export default {
mock: true,
dvServer: { port: 8080 }
devServer: { port: 8080 }
};
```
当我们运行:

View File

@ -11,7 +11,7 @@ export default {
publicPath: '/',
devServer: {
port: 8080
}
},
mock: {
prefix: '/v2'
},
@ -47,7 +47,7 @@ export default { mock: false };
// .fes.local.js
export default {
mock: true,
dvServer: { port: 8080 }
devServer: { port: 8080 }
};
```
最终的配置是:
@ -72,7 +72,7 @@ export default { mock: false };
// .fes.uat.js
export default {
mock: true,
dvServer: { port: 8080 }
devServer: { port: 8080 }
};
```
当我们运行: