handled home loading if not available in dom (if drupalSettings.path.isFront == false)
This commit is contained in:
@@ -94,7 +94,7 @@ import 'theme/assets/styles/main.scss'
|
||||
let main_html = $main_content.innerHTML
|
||||
_v_main_content = new Vue({
|
||||
store,
|
||||
render: h => h(VMainContent, {props:{id:id, html:main_html}})
|
||||
render: h => h(VMainContent, {props:{id:id, html:main_html, isfront:drupalSettings.path.isFront}})
|
||||
}).$mount('#'+id)
|
||||
// console.log('initTestVContent', v_test_content);
|
||||
}
|
||||
|
Reference in New Issue
Block a user