diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index a931c27..c7adc26 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -34,8 +34,7 @@ module.exports = { resolve: { extensions: ['.js', '.vue', '.json'], alias: { - 'vue$': 'vue/dist/vue.esm.js', - '@': resolve('src'), + '@': resolve('src') } }, module: { diff --git a/src/main.js b/src/main.js index 635cc8d..c04fdeb 100644 --- a/src/main.js +++ b/src/main.js @@ -23,6 +23,5 @@ new Vue({ el: '#app', router, store, - template: '', - components: { App } + render: h => h(App) })