Use runtime only build.

This commit is contained in:
Roger Braun 2017-02-21 11:48:08 +01:00
parent 132d502194
commit abc9f06d93
2 changed files with 2 additions and 3 deletions

View file

@ -23,7 +23,7 @@ module.exports = {
extensions: ['', '.js', '.vue'],
fallback: [path.join(__dirname, '../node_modules')],
alias: {
'vue$': 'vue/dist/vue.common',
'vue$': 'vue/dist/vue.runtime.common',
'src': path.resolve(__dirname, '../src'),
'assets': path.resolve(__dirname, '../src/assets'),
'components': path.resolve(__dirname, '../src/components')

View file

@ -67,8 +67,7 @@ new Vue({
router,
store,
el: '#app',
template: '<App/>',
components: { App }
render: h => h(App)
})
window.fetch('/static/config.json')