diff --git a/vue.config.js b/vue.config.js index 8ace55c..bc44836 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2020-04-15 10:00:32 - * @LastEditTime: 2022-05-11 14:26:01 + * @LastEditTime: 2022-05-11 14:35:47 * @LastEditors: JinxChen * @Description: In User Settings Edit * @FilePath: \AntpayFrontEnd\vue.config.js @@ -22,12 +22,16 @@ module.exports = { entry: './src/main.js', template: './public/index.html', /* title: '用户登录' */ + chunks: ['chunk-vendors', 'chunk-common', 'index'], + subpage: 'src/main.js' }, // 再配置各个子页面:登录后课表查询页 gaode: { entry: './src/pages/gaode.js', template: './public/gaode.html', - title: '高德地图demo' + title: '高德地图demo', + chunks: ['chunk-vendors', 'chunk-common', 'index'], + subpage: 'src/pages/gaode.js' } }, devServer: {