Browse Source

fix: fix elementui icon asseccPublicPath

wangyuan 2 years ago
parent
commit
bc80c09455
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ittpc/build/utils.js

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