docs: wrong code example in data-loading.md (#3221)

pull/3220/head
Henry Zhang 1 year ago committed by GitHub
parent c4abc950af
commit b53cda0bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -230,7 +230,7 @@ export { data }
export default defineLoader({ export default defineLoader({
// type checked loader options // type checked loader options
glob: ['...'], watch: ['...'],
async load(): Promise<Data> { async load(): Promise<Data> {
// ... // ...
} }

Loading…
Cancel
Save