From d57be04b23b045cd9bdb596c875d96029ac49b6a Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Mon, 23 May 2022 11:12:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=89=93=E5=8C=85?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) 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,