You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 rivejä
561 B

2 vuotta sitten
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
2 vuotta sitten
2 vuotta sitten
import Layout from '@/layout/Index.vue'
2 vuotta sitten
const routes: Array<RouteRecordRaw> =
[
2 vuotta sitten
{
path: '/',
2 vuotta sitten
name: 'Layout',
component: Layout,
redirect: '/chg',
children: [
{
path: 'chg',
name: 'StockChg',
component: () => import('@/views/stock/chg/Index.vue')
}
]
2 vuotta sitten
}
2 vuotta sitten
]
const router = createRouter({
2 vuotta sitten
history: createWebHashHistory(),
routes
2 vuotta sitten
})
2 vuotta sitten
export default router