Thijs Wijnmaalen

Results 20 comments of Thijs Wijnmaalen

As a workaround I use both `showError()` and `createError()` In `` context: ```ts const { data, error } = await useAsyncData(route.path, async () => { try { const result =...

Thank you, @PGLongo, for providing an example implementation of the refresh dynamic! Inspired by your code, I created a similar plugin that refreshes the tokens when the access token expires....

@PGLongo Yes, what I'm trying to accomplish is that the tokens is refreshed server-side (when expired) and the new updated value stored in the encrypted cookie. This new, just retrieved,...

Something like this? ```ts import type { PropType } from 'vue' defineProps({ publicUserId: { type: String, required: true }, textColorRgba: { type: String, required: false }, backgroundColorRgba: { type: String,...

For me, this issue is resolved when I add `vue-router` as an explicit dependency, see: https://github.com/nuxt/nuxt/issues/28248#issuecomment-2241749620

I think you can use the replace option from `vue-router` [1] for a use case like this: ```ts const router = useRouter() await router.push({ path: `/shipment/${shipment.id}`, replace: true }) ```...

Upgrading to v9 doesn't fix this bug, but the `enabled` option is available -- `import.meta.dev` is `undefined` for me though, but I could disable sentry during development using: ```js {...