Delayed hydration for progressively enhanced apps. Reduced blocking time and improved Google Lighthouse scores. ⚡️
Full Changelog: https://github.com/harlan-zw/nuxt-delay-hydration/compare/v1.0.5...v1.1.0
:warning: drops Nuxt v2 support. If you're using Nuxt v2, stay on the 0.x branch (currently 0.4.7)
Using the include and exclude options, you can specify which routes you'd like to delay hydration on.
// nuxt.config.ts
export default {
delayHydration: {
include: [
'/blog/**',
],
exclude: [
'/admin/**'
],
},
}
forever
is removed, use Nuxt server componentsreplayClickMaxEventAge
config is removedmount