remove boilerplate code

This commit is contained in:
David Haz
2025-07-07 22:49:10 +03:00
parent bf965bc5e0
commit 920ea5cb92
22 changed files with 747 additions and 514 deletions

View File

@@ -1,5 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import App from '@/App.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -7,16 +7,8 @@ const router = createRouter({
{
path: '/',
name: 'home',
component: HomeView,
},
{
path: '/about',
name: 'about',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/AboutView.vue'),
},
component: App,
}
],
})