diff --git a/build/webpack.dist.dev.config.js b/build/webpack.dist.dev.config.js index 98a18f1..e053a3f 100644 --- a/build/webpack.dist.dev.config.js +++ b/build/webpack.dist.dev.config.js @@ -14,7 +14,12 @@ module.exports = { umdNamedDefine: true }, externals: { - 'vue': 'vue' + vue: { + root: 'Vue', + commonjs: 'vue', + commonjs2: 'vue', + amd: 'vue' + } }, resolve: { extensions: ['', '.js', '.vue'] diff --git a/build/webpack.dist.prod.config.js b/build/webpack.dist.prod.config.js index 636a151..33be1cf 100644 --- a/build/webpack.dist.prod.config.js +++ b/build/webpack.dist.prod.config.js @@ -14,7 +14,12 @@ module.exports = { umdNamedDefine: true }, externals: { - 'vue': 'vue' + vue: { + root: 'Vue', + commonjs: 'vue', + commonjs2: 'vue', + amd: 'vue' + } }, resolve: { extensions: ['', '.js', '.vue'] diff --git a/test/routers/tag.vue b/test/routers/tag.vue index 90931f8..064959d 100644 --- a/test/routers/tag.vue +++ b/test/routers/tag.vue @@ -42,7 +42,7 @@