Commit Graph

193 Commits

Author SHA1 Message Date
Mateusz Kulpa 772264ae40
docs: add missing imports for nitro examples (#25003) 2024-01-02 12:35:44 +00:00
Julien Huang 4028d0cae3
docs: warn about hydration issue with URL fragment (#24961) 2024-01-01 10:28:23 +00:00
Sébastien Chopin 792cf67137
docs: add badge for callOnce utility
Resolves #24950
2023-12-29 12:02:22 +01:00
Julien Huang 1b93e604d3
feat(nuxt): allow client components within `NuxtIsland` (#22649) 2023-12-19 12:21:29 +00:00
Sébastien Chopin d26822f3df
feat(nuxt): add `callOnce` util to allow running code only once (#24787) 2023-12-19 11:00:11 +00:00
Julien Huang 9cd6c922e5
feat(nuxt): move loading api behind hooks (#24010) 2023-12-19 10:18:10 +00:00
Victor Akintunde 5d2ac28576
docs: update return for `useFetch` and `useAsyncData` #24407 (#24775) 2023-12-18 19:37:51 +01:00
Michael Brevard 800902df12
docs: add documentation for `nuxi module` (#24790)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Julien Huang <julien.h.dev@gmail.com>
Co-authored-by: Sébastien Chopin <seb@nuxtlabs.com>
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-12-18 13:00:03 +01:00
Sébastien Chopin 6d50b4744b docs: improvements on data-fetching 2023-12-18 11:20:04 +01:00
Michael Brevard 40a5f44942
feat(nuxt): `useRequestHeader` utility (#24781) 2023-12-16 09:08:56 +00:00
Michael Cole 0c04dc094a
docs: remove deprecated `loadNuxt` options (#24201) 2023-12-14 21:14:45 +00:00
Daniel Roe 7cd02e2909
docs: fix `addServerScanDir` example 2023-12-14 17:24:17 +00:00
Daniel Roe c5ff169c3a
feat(kit): add new `addServerScanDir` composable (#24001) 2023-12-14 17:11:53 +00:00
Luke Nelson 628dc716b5
docs: add documentation on `getCachedData` option (#24697) 2023-12-14 11:09:22 +00:00
Eugen Guriev 8ccafb182d
feat(nuxt): add `dedupe` option for data fetching composables (#24564) 2023-12-14 11:08:43 +00:00
Julien Huang 17b5ed9ad8
feat(nuxt): expose `refresh` on islands and server components (#24261) 2023-12-14 11:07:54 +00:00
Jamie Trip 3991a10adf
docs: add more info about custom serialize/revive (#24680) 2023-12-12 16:21:37 +00:00
Idorenyin Udoh 0901337f48
docs: add missing props for `<NuxtPage>` (#24675) 2023-12-10 21:45:51 +00:00
GJSSSS 88498bea99
docs: add file name to code block (#24620) 2023-12-07 21:47:39 +01:00
Sébastien Chopin 50d46f068a
docs(commands): add tunnel option 2023-12-06 16:18:34 +01:00
Daniel Roe e3b8b84a24
feat(nuxt): allow readonly option for `useCookie` (#24503) 2023-11-28 13:35:43 +00:00
Daniel Acuña c214869e51
feat(kit): allow customising logger options (#24243) 2023-11-23 21:57:48 +00:00
Luke Nelson 6e44b1b6b6
fix(nuxt): respect custom timeout in `useFetch` (#24364) 2023-11-20 13:59:41 +00:00
Joe Hawes c2b8adbb93
docs: minor wording & formatting tweaks (#24349) 2023-11-18 20:24:13 +00:00
passionate-bram 221e186980
docs: create a page explaining `import.meta` (#24186) 2023-11-08 15:40:51 +00:00
Andrey Yolkin a1e7bf9710
docs: fix imported `addPrerenderRoutes` name (#24102) 2023-11-03 14:15:24 +00:00
Marco Solazzi ec317befc0
docs: fix `useFetch` key generation logic (#24082) 2023-11-02 09:35:09 +00:00
Daniel Roe ebb5767b9c
fix(kit): fix `addServerImportsDir` implementation (#24000) 2023-10-31 14:16:01 +01:00
Daniel Roe d7b1116443
perf(nuxt): use granular imports for auto-importing composables (#23951) 2023-10-30 22:05:02 +01:00
Sébastien Chopin 5fea172883
docs(composables): avoid double read-more in useAppConfig 2023-10-25 11:54:38 +02:00
hossein-moghadam a548b70342
docs: rename 3.nuxt.config.md to 3.nuxt-config.md (#23819)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2023-10-25 11:19:09 +02:00
ordago 995cba84a2
docs: fix typos (#23921) 2023-10-25 09:36:04 +09:00
Conner bdc7a357ba
docs: add missing nitro hooks (#23865) 2023-10-23 12:55:09 +09:00
Damian Głowala 08281866a6
docs: remove redundant trailing slashes from links (#23744) 2023-10-18 12:26:06 +01:00
Sébastien Chopin f26a801775
docs: update to new website (#23743)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-18 12:59:43 +02:00
Daniel Roe 2e4ea2fe48
docs: add info about `<NuxtImg>` and `<NuxtPicture>` (#23741) 2023-10-18 11:35:58 +01:00
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
Andrey Yolkin 2e02e2c5b1
docs: improve `nuxt kit` section (#22375) 2023-10-12 10:24:29 +01:00
Daniel Roe 24c5af328f
fix(kit): revert accidental change to `addPrerenderRoutes` name (#23509) 2023-10-02 22:36:00 +01:00
Daniel Roe a06d5247ca
feat(nuxt): add `prerenderRoutes` ssr composable (#22863) 2023-09-28 11:54:22 +01:00
Maxim 9da77db358
docs: extend description of `handler` for `useAsyncData` (#23389) 2023-09-28 08:34:40 +01:00
Toni Engelhardt fb26a160f5
docs: mention `listhen` options on nuxi dev page (#23415) 2023-09-26 15:53:07 +02:00
Damian Głowala e7b47e9ed6
docs: add `tryUseNuxt` to kit context utils list (#23373) 2023-09-23 13:06:58 +02:00
Alex Riviere a661d58fc2
docs: add `nuxtApp.runWithContext` (#23258) 2023-09-19 21:24:02 +01:00
Tech Genius e15fe73100
ci: add lychee link checker (#23254) 2023-09-19 21:22:20 +01:00
Jeremy Graziani 6326ad4f9d
docs: typo on `callHook` method (#23231) 2023-09-15 10:54:59 +01:00
Petro Silenius 2e0e237071
docs: clarify nuxi start command usage (#23215) 2023-09-14 14:01:19 +01:00
Manthankumar Satani aa2c5c3df4
docs: fix typo for `experimental.componentIslands` (#23138) 2023-09-12 07:29:44 +01:00
Maxim a07b34a6ed
docs: add `name` param to `PageMeta` interface description (#23107) 2023-09-11 00:40:13 +01:00
Harlan Wilton 19145386e3
fix(nuxt): resolve head instance from Nuxt app (#22973) 2023-09-05 11:25:46 +01:00
Kekeocha Justin Chetachukwu fe59e0d739
docs: accessing custom props for `NuxtLayout` (#22989) 2023-09-05 11:09:23 +01:00
xjccc b27740cf50
docs: docs/3.api/3.utils/define-page-meta.md (#23006) 2023-09-05 10:04:48 +02:00
Daniel Roe 559a72370b
docs: update examples of dynamic `pageKey` (#22920) 2023-08-31 11:27:23 +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
Fares Djefaflia 2a2cb4fed3
docs: fix link to deployment page (#22618) 2023-08-13 22:35:33 +01: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
Andrey Yolkin 172ca80c30
docs: fix typo in `scrollToTop` (#22503) 2023-08-06 19:31:22 +01:00
Estéban 02a50c8eb8
docs: update prerender documentation (#22471) 2023-08-03 17:04:30 +01:00
nobkd f7e2b2bf6e
docs: escape `]` in code-block filenames (#22389) 2023-08-03 12:05:29 +01:00
Julien Huang 586e1ba3ee
docs: document `NuxtIsland` (#22434) 2023-08-02 08:31:22 +01:00
Prashant Palikhe 2616aadda6
feat(nuxt): allow dynamic `scrollToTop` page meta (#21741) 2023-07-30 11:07:01 +01:00
Daniel Roe fc10da37fb
docs: add example for accessing vite config programmatically (#18812)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2023-07-30 10:17:36 +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
Zakir Hossen f4be14a38a
docs: fix accessing custom props from child pages (#21977) 2023-07-06 09:20:38 +01:00
Daniel Roe 13a8923613 docs: update more links to examples repo 2023-07-05 12:06:06 +02:00
Muhamad Jamil 02a6aecd4e
docs: update docs for `<NuxtLoadingIndicator>` (#21952) 2023-07-05 11:35:59 +02:00
vasek f28ff76559
docs: add closing bracket (#21887) 2023-07-02 16:03:05 +01: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
Daniel Roe dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures (#21700) 2023-06-22 14:14:21 +01:00
Miachel Brevard 4ac4dfda15
docs: add warning about redirect check (#20680) 2023-06-12 09:45:53 +01:00
Julien Huang 41d34ca67d
feat(nuxt): allow accessing `NuxtLayout` ref via `layoutRef` (#19465) 2023-06-10 23:17:14 +01:00
Julien Huang 319935fc95
feat(nuxt): allow accessing `NuxtPage` ref via `pageRef` (#19403) 2023-06-10 23:13:33 +01:00
Nicolas Payot c884a95f0f
feat(nuxt): return `status` from `useAsyncData` (#21045) 2023-06-09 22:38:14 +01:00
Hebilicious ee6869b1ba
feat(kit): `addTypeTemplate` helper with auto-registration (#21331) 2023-06-09 22:24:03 +01:00
Jongmin Yoon 31a1b98f3f
feat(nuxt): provide `clearNuxtState` composable (#21409) 2023-06-09 22:22:21 +01:00
Wilson Pinto c4e5ac83bf
feat(nuxt): add `open` option in `navigateTo` helper (#21333) 2023-06-07 20:27:00 +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
Julien Huang e6dba41eb6
docs(api): add `render:island` hook (#21065) 2023-05-25 14:51:57 -05: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
Julien Huang 603e7e7fb1
feat(nuxt): allow keeping fallback for `NuxtClientFallback` (#20336) 2023-05-14 22:22:54 +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