|
@@ -8,17 +8,17 @@ const router = createRouter({
|
|
|
// path: '/',
|
|
// path: '/',
|
|
|
// name: 'home',
|
|
// name: 'home',
|
|
|
// component: HomeView
|
|
// component: HomeView
|
|
|
- // },
|
|
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
path: '/',
|
|
path: '/',
|
|
|
name: 'CesiumMap',
|
|
name: 'CesiumMap',
|
|
|
component: () => import('../views/cesium.vue')
|
|
component: () => import('../views/cesium.vue')
|
|
|
- },
|
|
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
path: '/mapview',
|
|
path: '/mapview',
|
|
|
name: 'mapview',
|
|
name: 'mapview',
|
|
|
component: () => import('../views/mapview.vue')
|
|
component: () => import('../views/mapview.vue')
|
|
|
- },
|
|
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
path: '/satellitecloudchart',
|
|
path: '/satellitecloudchart',
|
|
|
name: 'satellitecloudchart',
|
|
name: 'satellitecloudchart',
|
|
@@ -31,6 +31,10 @@ const router = createRouter({
|
|
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
|
// which is lazy-loaded when the route is visited.
|
|
// which is lazy-loaded when the route is visited.
|
|
|
component: () => import('../views/AboutView.vue')
|
|
component: () => import('../views/AboutView.vue')
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: "/:catchAll(.*)",
|
|
|
|
|
+ redirect: "/"
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
})
|
|
})
|