import { createRouter, createWebHashHistory } from 'vue-router' // import HomeView from '../views/HomeView.vue' import indexView from '../views/index.vue' import processView from '../views/process.vue' // console.log(import.meta.env.VITE_BASE_CONTEXT); const router = createRouter({ history: createWebHashHistory(import.meta.env.VITE_BASE_CONTEXT), // history: createWebHistory(import.meta.env.VITE_BASE_CONTEXT), routes: [ { path: '/', redirect: '/home', }, { path: '/home', name: 'home', component: indexView }, { path: '/process', name: 'process', component: processView } ] }) export default router