forked from AkkomaGang/akkoma-fe
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'],
|
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({
|
||||||
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')
|
||||||
|
|
Loading…
Reference in a new issue