Skip to content

Commit

Permalink
refactor: remove AsyncComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Hetari committed Oct 22, 2024
1 parent 1bbcb54 commit 4aae2a3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/components/sections/index.ts
Original file line number Diff line number Diff line change
@@ -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 };

0 comments on commit 4aae2a3

Please sign in to comment.