Open znck opened 5 years ago
Currently it fails in Nuxt dev mode.
import LazyHydrate from 'lazy-hydration';
const Hydrate = process.env.NODE_ENV === 'production' ? LazyHydrate : {
functional: true,
render(c, {slots}) {
return slots().default;
}
}
export default Hydrate;
Wrapping it like this did the trick. Any idea?
Possible testing approach:
nuxt generate