Skip to content

Commit b53cda0

Browse files
docs: wrong code example in data-loading.md (#3221)
1 parent c4abc95 commit b53cda0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/guide/data-loading.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export { data }
230230

231231
export default defineLoader({
232232
// type checked loader options
233-
glob: ['...'],
233+
watch: ['...'],
234234
async load(): Promise<Data> {
235235
// ...
236236
}

0 commit comments

Comments
 (0)