Explorar el Código

修改打包问题

Limengbo hace 5 años
padre
commit
532c247593
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      build/webpack.base.conf.js

+ 1 - 0
build/webpack.base.conf.js

@@ -50,6 +50,7 @@ module.exports = {
       inject: true, // will inject the DLL bundle to index.html
       inject: true, // will inject the DLL bundle to index.html
       debug: true,
       debug: true,
       filename: '[name]_[hash].js',
       filename: '[name]_[hash].js',
+      path: './',
       entry: {
       entry: {
         vendor: ['vue', 'vue-router', 'vuex', 'element-ui']
         vendor: ['vue', 'vue-router', 'vuex', 'element-ui']
       }
       }