Skip to content
Snippets Groups Projects
Verified Commit ab73752f authored by Eliot Berriot's avatar Eliot Berriot
Browse files

See #880: removed vue runtime to remove "eval()" calls

Needed for CSP, and also helps with redusing JS size ;)
parent 03985668
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment