This commit is contained in:
梁灏 2017-12-25 10:52:21 +08:00
parent 11b0145234
commit d1f37f1276
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ module.exports = {
resolve: { resolve: {
extensions: ['.js', '.vue'], extensions: ['.js', '.vue'],
alias: { alias: {
'vue': 'vue/dist/vue.runtime.js', 'vue': 'vue/dist/vue.esm.js',
'@': resolve('src') '@': resolve('src')
} }
}, },

View file

@ -27,8 +27,8 @@ module.exports = merge(webpackBaseConfig, {
resolve: { resolve: {
alias: { alias: {
iview: '../../src/index', iview: '../../src/index',
// vue: 'vue/dist/vue.esm.js' vue: 'vue/dist/vue.esm.js'
vue: 'vue/dist/vue.runtime.js' // vue: 'vue/dist/vue.runtime.js'
} }
}, },
plugins: [ plugins: [