handled home loading if not available in dom (if drupalSettings.path.isFront == false)

This commit is contained in:
2019-06-04 22:38:44 +02:00
parent d8e5f93c14
commit 082e011fbb
22 changed files with 591 additions and 160 deletions

View File

@@ -6,7 +6,10 @@ import Base from 'vuejs/components/Content/Base'
Vue.use(VueRouter)
// https://www.lullabot.com/articles/decoupled-hard-problems-routing
export default new VueRouter({
mode: 'history',
routes: [
{
path: '/',
@@ -22,5 +25,12 @@ export default new VueRouter({
'base': Base
}
},
// {
// path: '*',
// name: 'notfound',
// components: {
// 'notfound': NotFound
// }
// }
]
})