Kaynağa Gözat

'修改配置文件'

lin-xin 7 yıl önce
ebeveyn
işleme
8b9aca0665
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      build/utils.js

+ 2 - 1
build/utils.js

@@ -47,7 +47,8 @@ exports.cssLoaders = function (options) {
     if (options.extract) {
     if (options.extract) {
       return ExtractTextPlugin.extract({
       return ExtractTextPlugin.extract({
         use: loaders,
         use: loaders,
-        fallback: 'vue-style-loader'
+        fallback: 'vue-style-loader',
+        publicPath: '../../'
       })
       })
     } else {
     } else {
       return ['vue-style-loader'].concat(loaders)
       return ['vue-style-loader'].concat(loaders)