Browse Source

Merge branch 'Dev' into 'Test'

fix:静态资源丢失

See merge request crowd-2019/crowd-test-service-front!11
薛晓波 5 years ago
parent
commit
cfc99d11fa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      build/utils.js

+ 2 - 1
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)