Closed FilipLundby closed 3 years ago
I'm trying to use hydrateNever as a wrapper, but I'm getting this warning when building the project (2.0.0-beta.1):
"export 'hydrateNever' was not found in 'vue-lazy-hydration'
This is how I import and use it:
import { hydrateNever } from 'vue-lazy-hydration';
components: { TheLogo: hydrateNever(() => import('@/components/TheLogo.vue')), }
However, using the never attribute works:
never
import LazyHydrate from 'vue-lazy-hydration';
<LazyHydrate never> <the-logo /> </LazyHydrate>
Strange, can't reproduce. Please make sure that you're actually using v2.x. Maybe delete node_modules and install fresh. Thanks.
node_modules
Close because of inactivity.
I'm trying to use hydrateNever as a wrapper, but I'm getting this warning when building the project (2.0.0-beta.1):
This is how I import and use it:
However, using the
never
attribute works: