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