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.
21 lines
372 B
21 lines
372 B
import { createRouter, createWebHashHistory } from 'vue-router' |
|
|
|
const routes = [ |
|
{ |
|
path: '/', |
|
redirect: '/createVm' |
|
}, |
|
{ |
|
path: '/createVm', |
|
component: () => import('../views/createVm.vue') |
|
}, |
|
{ |
|
path: '/a', |
|
component: () => import('../views/AbPage.vue') |
|
} |
|
] |
|
|
|
export default createRouter({ |
|
history: createWebHashHistory(), |
|
routes |
|
})
|
|
|