pages_question\index.vue
pages_question\detail.vue
生成的对应路由:
const _6bf6ece8 = () => interopDefault(import('..\\pages\\_question\\index.vue' /* webpackChunkName: "pages/_question/index" */))
const _a98c80aa = () => interopDefault(import('..\\pages\\_question\\detail.vue' /* webpackChunkName: "pages/_question/detail" */))
const emptyFn = () => {}
Vue.use(Router)
export const routerOptions = {
mode: 'history',
base: '/',
linkActiveClass: 'nuxt-link-active',
linkExactActiveClass: 'nuxt-link-exact-active',
scrollBehavior,
routes: [{
path: "/:question",
component: _6bf6ece8,
name: "question"
}, {
path: "/:question/detail",
component: _a98c80aa,
name: "question-detail"
}],
fallback: false
}