Commit Graph

51 Commits

Author SHA1 Message Date
Alexander Lichter 1357a3d9ff
docs: update types for useFetch/useAsyncData (#23730) 2023-10-17 20:07:00 +01:00
Dario Ferderber b52548d915
feat(nuxt): custom cache support for data fetching composables (#20747) 2023-10-16 20:54:39 +01:00
Sacha Stafyniak 830f4f4aa8
feat(nuxt): support `deep: false` for data composables (#23600) 2023-10-16 13:56:23 +01:00
Maxim 9da77db358
docs: extend description of `handler` for `useAsyncData` (#23389) 2023-09-28 08:34:40 +01:00
Alex Riviere a661d58fc2
docs: add `nuxtApp.runWithContext` (#23258) 2023-09-19 21:24:02 +01:00
Jeremy Graziani 6326ad4f9d
docs: typo on `callHook` method (#23231) 2023-09-15 10:54:59 +01:00
Harlan Wilton 19145386e3
fix(nuxt): resolve head instance from Nuxt app (#22973) 2023-09-05 11:25:46 +01:00
Jongmin Yoon 6f7d86be78
fix(nuxt): recreate `asyncData` when `immediate` is disabled (#20980) 2023-08-24 13:06:29 +01:00
Jabin e058a10525
docs: add additional type generics to `useAsyncData` (#22760) 2023-08-23 12:09:52 +01:00
eternalltruth 60c1eec047
docs: add additional type generics to `useFetch` docs (#22755)
Co-authored-by: 李杰 <ajay.li@feisu.com>
2023-08-23 08:46:44 +01:00
pooya parsa a2f2a4748e
feat(nuxt): upgrade nitro + reduce node-specific usage (#22515)
Co-authored-by: Heb <xsh4k3@gmail.com>
2023-08-23 08:30:53 +01:00
Daniel Roe 98c17e5d46 docs: revert `import.meta.*` update until v3.7 release 2023-08-17 08:06:20 +02:00
@beer a4d1ee226a
docs: update api example for `pick` (#22531) 2023-08-08 10:59:35 +01:00
Jonas Thelemann 7dc7c80f74
docs: rephrase link to `useSeoMeta` parameters (#22513) 2023-08-07 23:10:53 +01:00
Lucas Vargas ffd0223583
feat(vite,webpack): tree-shakable `import.meta.*` build flags (#22428) 2023-08-07 23:03:40 +01:00
Alexander Lichter ed915edc3c
docs: add `status` type for `useAsyncData` (#22511) 2023-08-07 07:50:06 +01:00
nobkd f7e2b2bf6e
docs: escape `]` in code-block filenames (#22389) 2023-08-03 12:05:29 +01:00
Mahdi Shah Abbasian bea6ed1d9c
docs: standardize indentation and tag positioning (#22157) 2023-07-18 11:31:45 +01:00
Eduardo San Martin Morote c76d58051f
docs: use sfc syntax in example (#22073)
Co-authored-by: Sébastien Chopin <seb@nuxtlabs.com>
2023-07-10 16:48:57 +02:00
Jianqi Pan b49e5f420c
docs: add more internal links (#22013) 2023-07-07 17:24:09 +01:00
Daniel Roe 13a8923613 docs: update more links to examples repo 2023-07-05 12:06:06 +02:00
Lucas Vargas 5f5b9dfe99
docs: update useFetch return values (#21852) 2023-06-29 10:16:43 +01:00
Daniel Roe d4af237685
docs: update example links (#21811) 2023-06-27 12:27:11 +01:00
Nicolas Payot c884a95f0f
feat(nuxt): return `status` from `useAsyncData` (#21045) 2023-06-09 22:38:14 +01:00
Alexander B a31899af65
feat(nuxt): sync `useCookie` state between tabs (#20970) 2023-06-06 23:21:51 +01:00
Anthony Fu 1a7aa1b043
docs: remove irregular spaces (#21380) 2023-06-05 16:03:06 +01:00
Andrew Luca bec01c378a
docs: adjust `env` property to match `runtimeConfig` (#21265) 2023-05-30 17:30:58 +01:00
Hebilicious 2baea30f70
docs: distinguish between `$fetch` and fetch composables (#21228) 2023-05-30 11:05:41 +02:00
Jongmin Yoon da29ac0b7e
docs: sync `useAsyncData` and `useFetch` types (#20935) 2023-05-18 19:54:06 +01:00
Daniel Roe 891ba880e2 docs: remove warning around `experimental.renderJsonPayloads` 2023-05-18 11:47:01 +01:00
lemon 52da9d1b35
docs: fix typo (#20907) 2023-05-17 09:23:00 +01:00
Sébastien Chopin 6a052b583b
feat(nuxt): add `useRequestURL` helper (#20765) 2023-05-13 22:09:37 +01:00
Daniel Roe 7e7e006e9b docs: add `await` before lazy composable examples 2023-05-10 23:34:20 +01:00
darioferderber 24c30eb976
docs: add `useSeoMeta` and `useServerSeoMeta` pages (#20656) 2023-05-05 14:50:06 +01:00
Jamie Warburton c543ea8244
docs: note that `useCookie` does not share state (#20665) 2023-05-04 09:58:39 +01:00
Enkot ecb2fda113
docs: fix fetch composable examples (#20603) 2023-05-01 13:41:17 +01:00
Adrien Zaganelli a21a520736
docs: add custom fetch composable example (#20115) 2023-04-26 12:28:19 +01:00
Johannes Przymusinski 2d4ca20f3b
docs: update links to `vue-router` docs (#20454) 2023-04-24 21:29:24 +01:00
Daniel Roe 4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
JT Smith 73dda01f67
docs: fix type of `headers` option for `useFetch` (#20148) 2023-04-08 10:47:40 -07:00
pooya parsa 9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
Daniel Roe e7623ec0b7
docs: re-enable docs linting and update docs (#20084) 2023-04-04 06:23:13 -07:00
Daniel Roe ee8d3f6ea6
feat(nuxt): support disabling `watch` with `useFetch` (#19823) 2023-04-03 05:36:14 -07:00
Jakub Zomerfeld 801aba830e
docs: add another example for `useAsyncData` (#19225) 2023-03-19 16:51:18 -07:00
Leopold Kristjansson e669da0975
docs: add backticks (#19721) 2023-03-15 21:10:50 +00:00
Sébastien Chopin e68a23a723
docs: improve head section (#19673) 2023-03-14 07:24:41 -07:00
Harlan Wilton c91e4d7933
feat(nuxt): add `useHeadSafe` and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
Harlan Wilton 8732720221
perf(head): drop `@vueuse/head` dependency (#19519) 2023-03-08 07:32:24 -08:00
Krutie Patel 217e59ad96
docs: add `useError` composable (#8912) 2023-02-04 06:17:05 -08:00
Daniel Roe 03d6737089
fix(vite, webpack): omit magic keys when import of same name is detected (#18733) 2023-02-03 03:55:58 -08:00