Skip to content

Commit 08f1bc1

Browse files
authored
docs: update defining-loaders.md (#554)
1 parent 1bf080a commit 08f1bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/data-loaders/defining-loaders.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const useUserData = defineBasicLoader(
178178
// ...
179179
},
180180
{
181-
lazy: !import.env.SSR, // Vite specific
181+
lazy: !import.meta.env.SSR, // Vite specific
182182
}
183183
)
184184
```

0 commit comments

Comments
 (0)