|
@ -134,6 +134,7 @@ export function addDynamicRoute(routeParams, router) { |
|
|
|
|
|
|
|
|
const createRouter = () => new Router({ |
|
|
const createRouter = () => new Router({ |
|
|
mode: 'history', |
|
|
mode: 'history', |
|
|
|
|
|
base: process.env.NODE_ENV === 'staging' ? process.env.VUE_APP_BASE_SUF : '/', |
|
|
scrollBehavior: () => ({ y: 0 }), |
|
|
scrollBehavior: () => ({ y: 0 }), |
|
|
routes: pageRoutes.concat(moduleRoutes) |
|
|
routes: pageRoutes.concat(moduleRoutes) |
|
|
}) |
|
|
}) |
|
|