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

This commit is contained in:
sin 2019-03-10 15:02:34 +08:00
parent fd9f9a6368
commit 08cbed2483

View File

@ -62,8 +62,8 @@ export default {
// add for transfer to umi // add for transfer to umi
// base: '/adsf', // base: '/adsf',
// runtimePublicPath: true, // runtimePublicPath: true,
base: '/admin-web', base: '/admin-web/',
publicPath: './admin-web/', publicPath: '/admin-web/',
plugins, plugins,
define: { define: {
APP_TYPE: APP_TYPE || '', APP_TYPE: APP_TYPE || '',