import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router' const routes: Array = [ { path: '/:pathMatch(.*)*', component: () => import('./views/preview.vue') } ] const router = createRouter({ history: createWebHashHistory(), routes }) export default router