From 4aae2a363d83de38adfe15c439f17a5934f89082 Mon Sep 17 00:00:00 2001 From: Hetari Date: Wed, 23 Oct 2024 02:38:28 +0300 Subject: [PATCH] refactor: remove AsyncComponent --- src/components/sections/index.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/components/sections/index.ts b/src/components/sections/index.ts index 6a3165e..6cde492 100644 --- a/src/components/sections/index.ts +++ b/src/components/sections/index.ts @@ -1,12 +1,8 @@ -import { defineAsyncComponent } from 'vue'; - import Hero from './Hero.vue'; import Contact from './Contact.vue'; - -const Services = defineAsyncComponent(() => import('./Services.vue')); -const Works = defineAsyncComponent(() => import('./Works.vue')); -const aboutMe = defineAsyncComponent(() => import('./aboutMe.vue')); -const People = defineAsyncComponent(() => import('./People.vue')); -// const Contact = defineAsyncComponent(() => import('./Contact.vue')); +import Services from './Services.vue'; +import Works from './Works.vue'; +import aboutMe from './aboutMe.vue'; +import People from './People.vue'; export { Hero, Services, Works, aboutMe, People, Contact };