From 4c4a5ad720a14afb1c264d8055d7a72c56c8c941 Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Thu, 21 Jun 2018 23:55:01 +0800 Subject: [PATCH] no message Former-commit-id: 4b5a410628b480c6f6d4e36340ebb824dbc0fbd4 [formerly 0bc250779c2972c6b7b86495f30754dfb649e12a] [formerly 4b5a410628b480c6f6d4e36340ebb824dbc0fbd4 [formerly 0bc250779c2972c6b7b86495f30754dfb649e12a] [formerly 4b5a410628b480c6f6d4e36340ebb824dbc0fbd4 [formerly 0bc250779c2972c6b7b86495f30754dfb649e12a] [formerly 0bc250779c2972c6b7b86495f30754dfb649e12a [formerly 899c5987069bff2f0610edc7e0dd537e8ea12eaf [formerly 42bf16ff16270a6e7fed54f996ae63c0699e29f8]]]]] Former-commit-id: baca52e373b9cc0acc4a46cdee4d57b8e97c9567 Former-commit-id: 13da1cddafc1c1b54afb95b3e483c1007754b11d Former-commit-id: 0849a7a6c525c7b62a904af5b7d09074c7d29154 [formerly f999d1e26403665a93ab9f62141572a1aeec5f33] Former-commit-id: 61f7229d0eb541e177e578a62071fa5031728335 Former-commit-id: c8df777290e93b57c535b25010f93d33a8a98eb3 Former-commit-id: 0473e1688d8858de4cdf78c7927955241f086622 Former-commit-id: 8a6efd0903bf3a3140d2469fc3a2f16f408cd37a Former-commit-id: dd6d7e2018fc2e28873f798b16245c4b6fc9ab71 --- build/utils.js | 3 ++- config/index.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build/utils.js b/build/utils.js index e534fb0f..bc98c135 100755 --- a/build/utils.js +++ b/build/utils.js @@ -47,7 +47,8 @@ exports.cssLoaders = function (options) { if (options.extract) { return ExtractTextPlugin.extract({ use: loaders, - fallback: 'vue-style-loader' + fallback: 'vue-style-loader', + publicPath: '../../' }) } else { return ['vue-style-loader'].concat(loaders) diff --git a/config/index.js b/config/index.js index f067ac28..de01a270 100755 --- a/config/index.js +++ b/config/index.js @@ -56,7 +56,7 @@ module.exports = { assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', // 请根据你的站点地址修改这里 - assetsPublicPath: '/', + assetsPublicPath: './', /** * Source Maps