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 */
|
/* eslint-disable no-new */
|
||||||
new Vue({
|
new Vue({
|
||||||
el: '#app',
|
el: '#app',
|
||||||
template: '<EmbedFrame/>',
|
render (h) {
|
||||||
|
return h('EmbedFrame')
|
||||||
|
},
|
||||||
components: { EmbedFrame }
|
components: { EmbedFrame }
|
||||||
})
|
})
|
||||||
|
|
|
@ -122,7 +122,9 @@ store.dispatch('instance/fetchFrontSettings').finally(() => {
|
||||||
el: '#app',
|
el: '#app',
|
||||||
router,
|
router,
|
||||||
store,
|
store,
|
||||||
template: '<App/>',
|
render (h) {
|
||||||
|
return h('App')
|
||||||
|
},
|
||||||
components: { App }
|
components: { App }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -30,11 +30,6 @@ module.exports = {
|
||||||
},
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
plugins: plugins,
|
plugins: plugins,
|
||||||
resolve: {
|
|
||||||
alias: {
|
|
||||||
'vue$': 'vue/dist/vue.esm.js'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
disableHostCheck: true,
|
disableHostCheck: true,
|
||||||
|
|
Loading…
Reference in New Issue