restart frontend development (now vite)

This commit is contained in:
janis
2023-10-16 16:37:52 +02:00
parent 2d907f052b
commit b0891022e7
28 changed files with 353 additions and 26168 deletions

View File

@@ -1,17 +1,15 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
const routes = [
{
path: '/',
name: 'home',
component: HomeView
},
]
const router = createRouter({
history: createWebHistory(process.env.BASE_URL),
routes
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: HomeView
},
]
})
export default router