diff --git a/vue.config.js b/vue.config.js index b56b6af..58e4ec5 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 15:35:24 + * @LastEditTime: 2022-05-23 11:11:49 * @LastEditors: JinxChen * @Description: In User Settings Edit * @FilePath: \AntpayFrontEnd\vue.config.js @@ -10,26 +10,11 @@ const port = process.env.port || process.env.npm_config_port || 8080;/* 7788 */ module.exports = { // 注意: 多页面配置 不再使用全路径,单页面时可以开启 - /* publicPath: './', */ + publicPath: './', outputDir: 'dist', // assetsDir: 'static', // lintOnSave: process.env.NODE_ENV === 'development', productionSourceMap: false, - // 多页面配置 - pages: { - // 先配置主页 - // 先配置主页 - index: { - entry: './src/main.js', - template: './public/index.html', - }, - // 再配置各个子页面:登录后课表查询页 - schedule: { - entry: './src/pages/schedule/schedule.js', - template: './public/schedule.html', - title: '高德地图demo' - }, - }, devServer: { port: port, open: true,