From d1f37f1276066e312a9eadd10dd7587c372b566f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Mon, 25 Dec 2017 10:52:21 +0800 Subject: [PATCH] update --- build/webpack.base.config.js | 2 +- build/webpack.dev.config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/webpack.base.config.js b/build/webpack.base.config.js index 5cb1b428..87944bc8 100644 --- a/build/webpack.base.config.js +++ b/build/webpack.base.config.js @@ -63,7 +63,7 @@ module.exports = { resolve: { extensions: ['.js', '.vue'], alias: { - 'vue': 'vue/dist/vue.runtime.js', + 'vue': 'vue/dist/vue.esm.js', '@': resolve('src') } }, diff --git a/build/webpack.dev.config.js b/build/webpack.dev.config.js index 16fcbb19..d9ff4a46 100644 --- a/build/webpack.dev.config.js +++ b/build/webpack.dev.config.js @@ -27,8 +27,8 @@ module.exports = merge(webpackBaseConfig, { resolve: { alias: { iview: '../../src/index', - // vue: 'vue/dist/vue.esm.js' - vue: 'vue/dist/vue.runtime.js' + vue: 'vue/dist/vue.esm.js' + // vue: 'vue/dist/vue.runtime.js' } }, plugins: [