kue
kue
NNuxt
Created by Mubo on 3/20/2025 in #❓・help
Is it possible to use 'hydrate-never' with '<component :is="....' ?
Thank youu!
42 replies
NNuxt
Created by Mubo on 3/20/2025 in #❓・help
Is it possible to use 'hydrate-never' with '<component :is="....' ?
No description
42 replies
NNuxt
Created by Mubo on 3/20/2025 in #❓・help
Is it possible to use 'hydrate-never' with '<component :is="....' ?
Do you have any resource what Nuxt hook to use to strip out the JS and load it when the hydrate function called? I tried to implement the basic with hydrateOnVisible and suspense but the JS is loaded immediately even with artificial delay on the loader, but it actually hydrate on visible. The other quirks is when the Suspense is not wrapped with ClientOnly component, the page will stuck until the async dependency resolved and the fallback not showing at all. I want to keep the template SSR, just like the auto-import lazy hydration (unfortunately that my project is have a bunch of component that live outside components folder, so I decide to disable the auto-import)
42 replies
NNuxt
Created by Mubo on 3/20/2025 in #❓・help
Is it possible to use 'hydrate-never' with '<component :is="....' ?
Sorry for the jump in. So, basically the PR is to enable the experimental lazy hydration feature without auto-imports? If I want to enable lazy hydration without that flag, I need to define it with defineAsyncComponent and hydrateOn* method but the js is still loaded?
42 replies
NNuxt
Created by ZaKk on 8/11/2024 in #❓・help
api 404
what's inside your start command?
44 replies
NNuxt
Created by kue on 2/25/2024 in #❓・help
How to access environment variables or runtime config outside of Nuxt context?
Thank you for the reference!
6 replies
NNuxt
Created by kue on 2/25/2024 in #❓・help
How to access environment variables or runtime config outside of Nuxt context?
I needed it before because I think its require less rewrite (I'm migrating from Nuxt 2 to 3). Then I changed my mind after trying out the repository pattern. It works with previously defined axios function; just a little bit move things around.
6 replies