chore: update data loader example to avoid confusion

closes #3113
pull/3126/head
Divyansh Singh 1 year ago committed by GitHub
parent 57b900c9af
commit 432c5480b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ A data loader file must end with either `.data.js` or `.data.ts`. The file shoul
export default {
load() {
return {
data: 'hello'
hello: 'world'
}
}
}
@ -35,7 +35,7 @@ Output:
```json
{
"data": "hello"
"hello": "world"
}
```

Loading…
Cancel
Save