handled home loading if not available in dom (if drupalSettings.path.isFront == false)
This commit is contained in:
@@ -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
|
||||
// }
|
||||
// }
|
||||
]
|
||||
})
|
||||
|
Reference in New Issue
Block a user