See #880: removed vue runtime to remove "eval()" calls
Needed for CSP, and also helps with redusing JS size ;)
This commit is contained in:
parent
039856688f
commit
ab73752f55
|
@ -10,6 +10,8 @@ Vue.config.productionTip = false
|
|||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
template: '<EmbedFrame/>',
|
||||
render (h) {
|
||||
return h('EmbedFrame')
|
||||
},
|
||||
components: { EmbedFrame }
|
||||
})
|
||||
|
|
|
@ -122,7 +122,9 @@ store.dispatch('instance/fetchFrontSettings').finally(() => {
|
|||
el: '#app',
|
||||
router,
|
||||
store,
|
||||
template: '<App/>',
|
||||
render (h) {
|
||||
return h('App')
|
||||
},
|
||||
components: { App }
|
||||
})
|
||||
|
||||
|
|
|
@ -30,11 +30,6 @@ module.exports = {
|
|||
},
|
||||
configureWebpack: {
|
||||
plugins: plugins,
|
||||
resolve: {
|
||||
alias: {
|
||||
'vue$': 'vue/dist/vue.esm.js'
|
||||
}
|
||||
}
|
||||
},
|
||||
devServer: {
|
||||
disableHostCheck: true,
|
||||
|
|
Loading…
Reference in New Issue