Commit Graph

47 Commits

Author SHA1 Message Date
Vl4dimyr
fc2be9ed42
feat(nuxt): add immediate option for useAsyncData and useFetch (#5500)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
Vasily Stepanov
0a775e3f70
docs(api): fix typo in use-fetch (#7310) 2022-09-07 10:23:49 +02:00
Alexander Lichter
86158bb407
chore(docs): fix link to vue router api (#7289) 2022-09-06 18:20:24 +02:00
Alex Kozack
8a81f2ad90
docs(api): fix useAsyncData signature (#7242) 2022-09-05 13:43:40 +02:00
HomWang
74db9d525e
docs(api): add example for fetch interceptors (#7180)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 09:42:15 +02:00
Damian Głowala
d31e1f03a1
docs: document external option of navigateTo (#7188) 2022-09-03 14:30:41 +02:00
Daniel Roe
0f1a746825
docs: add note about fetching data on initial load (#7120) 2022-09-03 13:02:21 +02:00
Krutie Patel
664e5702af
docs(api): enhance useHead composable (#7072)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-09-03 12:57:21 +02:00
victorkwok97
5650927c34
docs: add note about useFetch auto generated key (#7044) 2022-09-03 12:56:12 +02:00
pooya parsa
9caa9ca31f
v3.0.0-rc.9 (#6970) 2022-09-03 12:36:47 +02:00
Daniel Roe
b90d286631
feat(nuxt): add setPageLayout utility (#6826) (#7075)
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
Yaël Guilloux
1700bf822e
feat(nuxt): app.config improvements (#6905) 2022-08-24 18:35:02 +02:00
Daniel Roe
f3499d788a
feat(nuxt): allow programmatically prefetching global components (#6661)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:12:22 +02:00
Krutie Patel
dc6b6ce621
docs(api): add useNuxtApp composable (#6786)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-22 17:25:54 +02:00
Qin Guan
ae39a821b5
docs: use updated h3 utils (#6818) 2022-08-22 10:49:27 +02:00
pooya parsa
94f76ea930
feat(nuxt): app.config with hmr and reactivity support (#6333)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-17 17:23:13 +02:00
Damian Głowala
92a04cc036
docs: ensure consistent casing of section headers (#6578) 2022-08-13 09:27:04 +02:00
Timur Bolotov
34056d7176
docs(useFetch): minor punctuation fixes (#6409) 2022-08-07 11:57:10 +02:00
Timur Bolotov
2cbdc5c07f docs: add missing periods 2022-08-07 11:02:31 +02:00
Daniel Roe
4379e9d922
feat(nuxt): add setResponseStatus utility (#6306) 2022-08-02 18:01:59 +02:00
Victor Saa
5d023a80df
feat(nuxt, schema): add <NoScript> component and noscript typings (#6139) 2022-07-26 15:41:01 +02:00
David Tai
3a822c7177
refactor(nuxt): enhance useFetch and useLazyFetch request type (#4825)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Daniel Roe
d77b62d63e
docs: warn that useState should only contain JSON-serializable content (#5994)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Alwin Lohrie <46248939+niwla23@users.noreply.github.com>
2022-07-21 10:56:01 +02:00
Damian
be8b6b6d48
docs: add missing initialCache to UseFetchOptions (#5908) 2022-07-14 23:30:05 +02:00
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables (#4955)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
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