MCPcopy Create free account
hub / github.com/pythonstock/stock / createRouter

Function createRouter

frontend/src/router/index.js:114–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112// constantRoutes.push( { path: '*', redirect: '/404', hidden: true })
113
114const createRouter = () => new Router({
115 // mode: 'history', // require service support
116 scrollBehavior: () => ({ y: 0 }),
117 routes: constantRoutes
118})
119
120const router = createRouter()
121

Callers 2

index.jsFile · 0.85
resetRouterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected