25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
561 B

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