Files
vue-flow/examples/router.ts
T
Braks e4f57c79e8 feat: Create examples directory and add some examples
* Add svg plugins for vite & rollup
update: more bundle stuff
2021-07-10 23:51:04 +02:00

22 lines
424 B
TypeScript

import { createRouter, createWebHashHistory } from 'vue-router';
export const routes = [
{
path: '/basic',
component: () => import('./Basic')
},
{
path: '/custom-connectionline',
component: () => import('./CustomConnectionLine')
},
{
path: '/custom-node',
component: () => import('./CustomNode')
}
];
export const router = createRouter({
history: createWebHashHistory(),
routes
});