mirror of
https://git.youjo.love/youjo/youjo-fe.git
synced 2024-11-20 05:49:54 +01:00
Use runtime only build.
This commit is contained in:
parent
132d502194
commit
abc9f06d93
2 changed files with 2 additions and 3 deletions
|
@ -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')
|
||||
|
|
|
@ -67,8 +67,7 @@ new Vue({
|
|||
router,
|
||||
store,
|
||||
el: '#app',
|
||||
template: '<App/>',
|
||||
components: { App }
|
||||
render: h => h(App)
|
||||
})
|
||||
|
||||
window.fetch('/static/config.json')
|
||||
|
|
Loading…
Reference in a new issue