#1107: first light_home then async load full home, do not aggregate nor preprocess theme js libraries
This commit is contained in:
@ -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')
|
||||
|
Reference in New Issue
Block a user