You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(nuxt): Use virtual module for Nuxt pages data (SSR route parametrization) (#20020)
Creates a virtual module with Vite when using Nuxt 4+ instead of
creating a template. `useServerTemplate()` cannot be used here as it's
not Nitro-only but the SSR-space (server) within Nuxt.
Closes#20010
// This is a common Nuxt pattern to import build-time generated data (until Nuxt v3): https://nuxt.com/docs/4.x/api/kit/templates#creating-a-virtual-file-for-runtime-plugin
11
+
// @ts-expect-error This import is dynamically resolved at build time (`addTemplate` in module.ts)
// This is a common Nuxt pattern to import build-time generated data: https://nuxt.com/docs/4.x/api/kit/templates#creating-a-virtual-file-for-runtime-plugin
11
-
// @ts-expect-error This import is dynamically resolved at build time (`addTemplate` in module.ts)
0 commit comments