Skip to content

Commit

Permalink
Add lazy hydrate component
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Feb 16, 2024
1 parent 22f14d7 commit d9d9884
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt-frontend/components/home-new/HomeIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import LandingSection from "@/components/home-new/LandingSection.vue";
import { elementInViewPort } from "@/utils.js";
import { defineAsyncComponent } from "vue";
const CaseStudy = defineAsyncComponent(
() => import("@/components/home-new/CaseStudy.vue"),
const CaseStudy = defineAsyncComponent(() =>
import("@/components/home-new/CaseStudy.vue")
);
const ServiceSection = defineAsyncComponent(() =>
import("@/components/home-new/ServiceSection.vue")
Expand Down
1 change: 1 addition & 0 deletions nuxt-frontend/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default defineNuxtConfig({
"@nuxtjs/tailwindcss",
"nuxt-icon",
"@canopassoftware/blog-components",
"nuxt-lazy-hydrate",
],
css: ["~/assets/css/global.css", "~/assets/css/app.css"],
generate: { fallback: true },
Expand Down

0 comments on commit d9d9884

Please sign in to comment.