Add routing, state mgmt and train types
This commit is contained in:
7
src/router/routes.js
Normal file
7
src/router/routes.js
Normal file
@ -0,0 +1,7 @@
|
||||
function loadPage(component) {
|
||||
return () => import(`@/pages/${component}.vue`)
|
||||
}
|
||||
export default [
|
||||
{path: "/", component:loadPage("MapPage")},
|
||||
{path: "/insights", component:loadPage("InsightsPage")}
|
||||
]
|
Reference in New Issue
Block a user