数据立方体模拟
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.
 
 
 
 
 
 

26 lines
524 B

import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router';
import Login from '../views/main/login.vue';
const routes: Array<RouteRecordRaw> = [
{
path: '/',
redirect: '/cube',
},
{
path: '/login',
name: 'login',
component: () => import('../views/main/login.vue')
},
{
path: '/cube',
name: 'user',
component: () => import('../views/admin/cube.vue')
}
];
const router = createRouter({
history: createWebHashHistory(),
routes,
});
export default router;