feat: updated on and better vue layout
This commit is contained in:
+6
-4
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user