使用 publicPath 新的 api 名称

Former-commit-id: 39fb5a516aceba208e877866abd64aec92aa1432 [formerly e608fef54e5eaae4c9dfe5a89766b50fd6a27fed] [formerly 39fb5a516aceba208e877866abd64aec92aa1432 [formerly e608fef54e5eaae4c9dfe5a89766b50fd6a27fed] [formerly 39fb5a516aceba208e877866abd64aec92aa1432 [formerly e608fef54e5eaae4c9dfe5a89766b50fd6a27fed] [formerly e608fef54e5eaae4c9dfe5a89766b50fd6a27fed [formerly 182ded67d2f4de77c734229128288226e47948a7 [formerly e53caf5873bcb40523f7f4b1d21125229277f584]]]]]
Former-commit-id: 9cf257a3d76db0d7473963775f4ec637ecc6920c
Former-commit-id: ca91e9e6db7b2fa72d714c617468bbcf82aba611
Former-commit-id: e1349f0d5703cb71579154f4b6fa411942da21d3 [formerly 99af9e5e8c28c5b6c52bc1cc9a83eea9de34012e]
Former-commit-id: 5c7f72673f4357bf6e3047d1c7316f497827ab1a
Former-commit-id: 37d67ebe6c27e7ec45de30cd431f21074840e6f2
Former-commit-id: c886421e4fbd5a71504f8db4dc8540d83d43ea50
Former-commit-id: afa45435474a522dee4478465099027552bbca66
Former-commit-id: a13cf5e0a4f888701ed54ed1ce1ae20bc99c0853
This commit is contained in:
liyang
2019-01-17 11:30:52 +08:00
parent f5d13896f0
commit 770245ecfa
3 changed files with 5 additions and 5 deletions

View File

@@ -1 +1 @@
aba14ba69c1b10aabcba100e3478b48ba9f2c465
9a6ae629e8fc58277768e8bd7156ef7ad1f48d73

View File

@@ -8,13 +8,13 @@ process.env.VUE_APP_VERSION = require('./package.json').version
process.env.VUE_APP_BUILD_TIME = require('dayjs')().format('YYYY-M-D HH:mm:ss')
// 基础路径 注意发布之前要先修改这里
let baseUrl = '/'
let publicPath = '/'
module.exports = {
baseUrl: baseUrl, // 根据你的实际情况更改这里
publicPath: publicPath, // 根据你的实际情况更改这里
lintOnSave: true,
devServer: {
publicPath: baseUrl // 和 baseUrl 保持一致
publicPath: publicPath // 和 publicPath 保持一致
},
css: {
loaderOptions: {

View File

@@ -1 +1 @@
13dd0eb82ec0a73b25d0a39fe23a367f31a2aaf8
eff8b8fb6fe1c6cf58b8d00c3362c33e94ab93eb