Skip to content
Snippets Groups Projects
Commit abc9f06d authored by lain's avatar lain
Browse files

Use runtime only build.

parent 132d5021
Branches
Tags
No related merge requests found
...@@ -23,7 +23,7 @@ module.exports = { ...@@ -23,7 +23,7 @@ module.exports = {
extensions: ['', '.js', '.vue'], extensions: ['', '.js', '.vue'],
fallback: [path.join(__dirname, '../node_modules')], fallback: [path.join(__dirname, '../node_modules')],
alias: { alias: {
'vue$': 'vue/dist/vue.common', 'vue$': 'vue/dist/vue.runtime.common',
'src': path.resolve(__dirname, '../src'), 'src': path.resolve(__dirname, '../src'),
'assets': path.resolve(__dirname, '../src/assets'), 'assets': path.resolve(__dirname, '../src/assets'),
'components': path.resolve(__dirname, '../src/components') 'components': path.resolve(__dirname, '../src/components')
......
...@@ -67,8 +67,7 @@ new Vue({ ...@@ -67,8 +67,7 @@ new Vue({
router, router,
store, store,
el: '#app', el: '#app',
template: '<App/>', render: h => h(App)
components: { App }
}) })
window.fetch('/static/config.json') window.fetch('/static/config.json')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment