Danila Rodichkin
Danila Rodichkin
Fixed with 1.x/2.x
Правильный ответ выше, также можно подписаться на обновления (например, событие resize или ResizeObzerver) Карта автоматически подстраивается в версии 2.0
Нативная поддержка SSR реализована в 2.0
Реализована нативная поддержка SSR в версии 2.0
I think I have similar error on 3.11 as well. Somehow my init of internal refs inside a plugin broke, init has been completed but no init actually happened (my...
After I looked into source code I think the only way to get this sorted is to modify nuxtApp._route before page actually opens, or make a new composable if this...
Currently testing this as workaround: ```typescript import { defineNuxtRouteMiddleware } from '#imports'; export default defineNuxtRouteMiddleware((to) => { const router = useRouter(); for (const key in to) { //@ts-expect-error router.currentRoute.value[key] =...
My final workaround solution there. ```typescript import { defineNuxtRouteMiddleware } from 'nuxt/app'; import { useStore } from '~/store'; import type { RouteLocationNormalized } from 'vue-router'; export default defineNuxtRouteMiddleware((to) => {...
Adding to this. I've tried to get away from `process.server` to `import.meta.server` and got error `Cannot use 'import.meta' outside a module`. I believe that removing this will also inproduce inconsistence...
@pi0 it's easy. ```typescript export default defineNuxtModule({ async setup(_, nuxt: Nuxt) { console.log(import.meta.server); } }) ``` Done.  Of course you can assume you're always on SSR inside module. Yet...