From bdc31cea1a7d7a09aa8cfeceeabcfd02d81aa64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E8=A3=A4=E8=A1=A9?= Date: Mon, 25 Jun 2018 11:17:47 +0800 Subject: [PATCH] chore: use Runtime-only (#799) Detail see [Runtime-Compiler-vs-Runtime-only](https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only) --- build/webpack.base.conf.js | 1 - src/main.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 97bc6e2b..9936a877 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -34,7 +34,6 @@ module.exports = { resolve: { extensions: ['.js', '.vue', '.json'], alias: { - 'vue$': 'vue/dist/vue.esm.js', '@': resolve('src'), } }, diff --git a/src/main.js b/src/main.js index 07cbbe6e..ac246444 100644 --- a/src/main.js +++ b/src/main.js @@ -36,6 +36,5 @@ new Vue({ router, store, i18n, - template: '', - components: { App } + render: h => h(App) })