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.

39 lines
685 B

4 months ago
import { createRouter, createWebHistory } from 'vue-router'
import Login from '../system/Login.vue'
import Index from '../system/Index.vue'
import Profile from '../system/Profile.vue'
4 months ago
import Display from '../system/GraphDemo.vue'
4 months ago
const routes = [
{
path: '/',
redirect: '/login'
},
{
path: '/login',
name: 'Login',
component: Login
},
{
path: '/index',
name: 'Index',
component: Index
},
{
path: '/profile',
name: 'Profile',
component: Profile
}
4 months ago
,
{
path: '/kg-display',
name: 'Display',
component: Display
}
4 months ago
]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router