#1107: first light_home then async load full home, do not aggregate nor preprocess theme js libraries

This commit is contained in:
2021-05-25 22:22:00 +02:00
parent afb929c042
commit c1b9d16216
14 changed files with 182 additions and 51 deletions

View File

@ -3,7 +3,7 @@
import Vue from 'vue'
export default {
props: ['html'], // get the html from parent with props
props: ['html', 'full'], // get the html from parent with props
data() {
return {
template: null, // compiled template from html used in render
@ -40,7 +40,10 @@ export default {
this.$options.staticRenderFns = []
this._staticTrees = []
this.template.staticRenderFns.map(fn => (this.$options.staticRenderFns.push(fn)))
setTimeout(this.initShowroomCarroussel.bind(this), 250)
console.log('compileTemplate, full', this.full)
if (this.full) {
setTimeout(this.initShowroomCarroussel.bind(this), 250)
}
},
initShowroomCarroussel(){
console.log('startShowroomCarroussel')