Commit Graph

22 Commits

Author SHA1 Message Date
Yuki Inoue 1b6289f60f
docs(api): add watch parameter in `useFetch` options (#5562)
Co-authored-by: 井上裕貴 <inoueyuki@inoueyukinoMacBook-Pro.local>
2022-06-22 12:41:34 +02:00
Ash Go 1449e70541
docs: update cookie example with `defineEventHandler` (#5405) 2022-06-10 15:58:10 +02:00
Krutie Patel eedd30ed84
docs(api): add docs for `useRouter` composable (#4949)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-09 16:10:17 +02:00
Daniel Roe 775a904c77
docs(api): add `useRequestEvent` (#5326) 2022-06-09 13:07:28 +02:00
L.Rain 7b3dc6ec5d
docs(api): add `key` option for `useFetch` (#5089)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-05-24 16:20:52 +02:00
Arthur 2a43cb4130
docs(api): improve `useFetch` docs for body type and additional ohmyfetch options (#4985)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-20 11:04:37 +02:00
Salim Absi c0f0670ad7
docs: fix api examples (#4870) 2022-05-09 16:12:41 +02:00
Krutie Patel 2852ec4a2f
docs(api): composable use route (#4776)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-06 13:06:33 +02:00
Alex Liu eb903bd66e
fix(nuxt3): improve error types for `useAsyncData` and `useFetch` (#4210)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-29 20:42:22 +02:00
Kevin LEVRON e7bbf1693e
docs(api): fix `useAsyncData` example (#4549) 2022-04-25 11:31:25 +02:00
Conrawl Rogers 0c165bb03f
docs: update stackblitz links (#4510) 2022-04-22 10:35:49 +02:00
Ben 28cf9fed28
docs: remove duplicate entry for `default` option (#4519)
delete the duplicated `default` parameter description.
2022-04-22 10:34:53 +02:00
Damian 513978e15b
docs: fix and improve multiple sections (#4396) 2022-04-16 15:53:36 +02:00
Clément Ollivier f04704890d
docs(api): document lazy wrappers for data fetching (#4333) 2022-04-14 12:45:53 +02:00
Ada J 48d886c860
docs(api): document `useError` , `useLazyAsyncData` and `useLazyFetch` (#4341)
* docs: add documents for use-error,use-lazy-async-data and use-lazy-fetch

* docs(API): document useError,useLazyAsyncData and useLazyFetch

Co-authored-by: xiaojie.jiang <xiaojie.jiang@dhc.com.cn>
2022-04-14 10:53:58 +02:00
Daniel Roe ee93659147
feat(nuxt3): allow providing a ref as default value (#4326) 2022-04-13 19:41:41 +02:00
Clément Ollivier a89d2f9c1a
docs(api): apply use-async-data page structure to use-fetch (#4332) 2022-04-13 19:14:03 +02:00
Conner 9fc848567e
docs: improve documentation (#4148)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-04-11 23:00:43 +02:00
Clément Ollivier e6471689d6
docs(api): add ts signature and js example to use-async-data (#4171)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-11 19:24:18 +02:00
Clément Ollivier c98bea7d3c
docs: add links to examples (#4204) 2022-04-09 11:25:13 +02:00
Alex Liu b7dc0931c4
feat(nuxt3): let `useAsyncData()` return value that `error` can defined type by generics (#4109) 2022-04-06 18:02:45 +02:00
Clément Ollivier 9a0fc57724
docs: update sitemap (#4063)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-06 07:56:08 +02:00