Henrik
useRoute() causing hydration mismatches
useRoute
is causing the hydration mismatches. The problem occurs even in this very minimal example when deployed as SSG or npx nuxt generate
& npx nuxt start
. Is useRoute
broken?3 replies
404 does not load error.vue
I just tried to trigger a 404 with
throw createError({ statusCode: 404, statusMessage: 'Page Not Found' });
in [...slug].vue
and the error page does not load. This seems to be an issue with Netlify, it's working locally.10 replies
useElementVisibility in custom directive always returns false
Adding a small timeout fixes the issue in my use case. It is not optimal since it has to be matched with timing of page transitions but even without a page transition a small delay is necessary to get an accurate value.
js
8 replies