import { createRouter, createWebHashHistory, RouteRecord, RouteRecordRaw } from 'vue-router' import Home from '../views/tst/Home.vue' const routes: Array = [ { path: '/', name: 'Home', component: Home }, { path: '/about', name: 'About', component: () => import('../views/tst/About.vue') } ] const router = createRouter({ history: createWebHashHistory(), routes }) export default router