feat: updated on and better vue layout

This commit is contained in:
2026-04-27 11:33:06 +02:00
parent 39cf54624a
commit 89b83e3e43
15 changed files with 81 additions and 69 deletions
+6 -4
View File
@@ -1,9 +1,11 @@
import AboutView from '@views/AboutView.vue'
import ArticleView from '@views/ArticleView.vue'
import HomeView from '@views/HomeView.vue'
import NotFoundView from '@views/NotFoundView.vue'
import { defineAsyncComponent } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
const AboutView = defineAsyncComponent(() => import('@views/AboutView.vue'))
const ArticleView = defineAsyncComponent(() => import('@views/ArticleView.vue'))
const HomeView = defineAsyncComponent(() => import('@views/HomeView.vue'))
const NotFoundView = defineAsyncComponent(() => import('@views/NotFoundView.vue'))
const router = createRouter({
history: createWebHistory(),
routes: [