diff --git a/docs/data-loaders/defining-loaders.md b/docs/data-loaders/defining-loaders.md index 184075528..3c55a6c42 100644 --- a/docs/data-loaders/defining-loaders.md +++ b/docs/data-loaders/defining-loaders.md @@ -178,7 +178,7 @@ export const useUserData = defineBasicLoader( // ... }, { - lazy: !import.env.SSR, // Vite specific + lazy: !import.meta.env.SSR, // Vite specific } ) ```