修改 config publicPath ,NGINX 转发,还有层 admin-web 目录

This commit is contained in:
sin 2019-03-10 15:01:16 +08:00
parent 75b133eab8
commit fd9f9a6368

View File

@ -60,6 +60,10 @@ if (APP_TYPE === 'site') {
export default {
// add for transfer to umi
// base: '/adsf',
// runtimePublicPath: true,
base: '/admin-web',
publicPath: './admin-web/',
plugins,
define: {
APP_TYPE: APP_TYPE || '',