Skip to content

Commit

Permalink
feat: delay hydartion
Browse files Browse the repository at this point in the history
  • Loading branch information
mTresk committed Oct 18, 2024
1 parent 924cddf commit d4abfc0
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 17 deletions.
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ export default defineNuxtConfig({
'@vite-pwa/nuxt',
'@nuxtjs/sitemap',
'@nuxtjs/robots',
'nuxt-delay-hydration',
],
delayHydration: {
mode: 'mount',
},
sitemap: {
sources: ['/api/sitemap/urls'],
},
Expand Down
46 changes: 29 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"autoprefixer": "^10.4.20",
"eslint": "^9.11.1",
"nuxt": "^3.13.2",
"nuxt-delay-hydration": "^1.3.8",
"sass": "^1.79.3",
"stylelint": "^16.9.0",
"stylelint-config-recess-order": "^5.1.1",
Expand Down

0 comments on commit d4abfc0

Please sign in to comment.