Commit Graph

248 Commits

Author SHA1 Message Date
Maxime Pauvert cb2c47cfaf
docs: add a note about HTTPS with a self-signed certificates (#26481) 2024-04-19 17:16:30 +03:00
xjccc 7adb7d82da
docs: correct definePageMeta scrollToTop docs link (#26829) 2024-04-18 07:49:14 +03:00
Ivan Kalachikov 4fea6da1ae
feat(nuxt): add `<NuxtRouteAnnouncer>` and `useRouteAnnouncer` (#25741) 2024-04-17 16:58:13 +01:00
Edwin Fadul 9119475db2
docs: provide example of exposing a `pageRef` from a child page (#26806) 2024-04-17 10:26:40 +01:00
OrbisK 1945793a25
docs: add `--preset` flag for `nuxi build` (#26759) 2024-04-13 00:06:12 +02:00
Damian Głowala 386be0b866
docs: replace `process.*` with `import.meta.*` (#26611) 2024-04-02 12:46:05 +01:00
Pothuraju 50c92fbe6c
docs: add note about `prerenderRoutes` in dynamic routes (#26547) 2024-03-29 12:38:44 +00:00
xjccc 871404ae56
docs: add contents of the layout in examples (#26532) 2024-03-28 18:06:16 +00:00
Turdalin Nurassyl ac54031511
docs: mention `<DevOnly>` component in api section (#26029) 2024-03-18 15:17:20 +00:00
Daniel Roe 0d9c63b828
fix(nuxt): correct `finish` types and add to docs
resolves https://github.com/nuxt/nuxt/issues/26317
2024-03-17 20:09:19 +01:00
Daniel Roe 401370b3a0
docs: add note that `useId` must be used with single root element 2024-03-17 19:17:25 +01:00
Florian Lefebvre cfd34ec234
docs: fix code block formatting for `usePreviewMode` (#26303) 2024-03-17 16:17:07 +01:00
Damian Głowala 02d6838293
feat(nuxt): add `clear` utility to `useAsyncData`/`useFetch` (#26259) 2024-03-16 17:19:44 -07:00
Daniel Roe e272b2f2e1
feat(nuxt): pass server logs to client (#25936)
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-03-15 16:36:47 -07:00
Julien Huang 4be430e13f
feat(nuxt): pass nuxt instance to `getCachedData` (#26287) 2024-03-15 13:54:47 -07:00
Daniel Roe 6b1f3438b6
docs: add more keywords for reducer/reviver docs
https://github.com/nuxt/nuxt/issues/21832#issuecomment-1996991526
2024-03-15 13:17:06 -07:00
Daniel Roe a9effe9c8a
feat(nuxt): allow generating metadata for nuxt components (#26204) 2024-03-13 15:57:04 -07:00
Daniel Roe e889a7df59
docs: update link to `zhead` 2024-03-13 15:48:29 -07:00
Daniel Roe 9bfd988ca6
feat(nuxt): enable islands if server pages/components present (#26223) 2024-03-13 07:39:35 -07:00
Mostafa Said 5089016695
docs: add mentions on Vue School tutorials (#25997) 2024-03-11 17:56:57 +01:00
Adam DeHaven 5d3cbff6ac
docs: add cache.varies docs for multi-tenant use case (#26197) 2024-03-11 07:35:33 -07:00
Daniel Roe 27f9c55fc2
docs: add `app:manifest:update` hook (#26192) 2024-03-11 05:12:48 -07:00
Daniel Roe 0cc7f298f9
feat(nuxt): support async transforms for data composables (#26154) 2024-03-08 19:22:46 +00:00
k-karen cd3cf0b41a
docs: fix bracket escape on `definePageMeta` page (#26139) 2024-03-08 07:24:24 +00:00
Bogdan Kostyuk 98aa2c222f
feat(nuxt): `usePreviewMode` composable (#21705) 2024-03-06 17:14:15 +00:00
Julien Huang f0442d0ddb
feat(nuxt): emit error if `<NuxtIsland>` can't fetch island (#25798) 2024-03-06 16:45:43 +00:00
Horváth Bálint 7095048f3b
feat(nuxt): add `page:view-transition:start` hook (#26045) 2024-03-06 15:58:40 +00:00
Adam DeHaven db26a352c1
docs: document `fallback` prop for `<NuxtLayout>` (#26091) 2024-03-05 20:16:06 +00:00
Sébastien Chopin 8e6d2306c0 docs: fix 404 link 2024-03-03 14:33:43 +01:00
Victor Ribeiro be85a72f99
docs: mention when `useId` composable was introduced (#25953) 2024-02-26 07:13:55 +00:00
Florent Delerue 7213b2ddac
docs: replace `callout` to new components (#25897) 2024-02-21 18:09:45 +01:00
Sam Blowes a6b3c512a3
docs: pass `event` to `useRuntimeConfig` (#25788) 2024-02-14 11:55:03 +00:00
Mahdi Shah Abbasian b40e9dc3c7
docs: <script setup> changed to <script setup lang="ts"> (#25750) 2024-02-13 12:50:38 +00:00
GJSSSS 0a8a5916aa
docs: add prepend option docs for `addComponentsDir` (#25683) 2024-02-09 20:34:18 +00:00
Anthony Fu 3c271413f8
docs: enable twoslash for some code snippets (#25679) 2024-02-07 16:18:48 +00:00
Harlan Wilton b78e1cb206
fix(nuxt): don't set default `rel` for same-site external links (#25600) 2024-02-04 22:21:39 +00:00
xjccc 541a802fef
docs: explain how to set `<NuxtLink>` defaults in nuxt config (#25610) 2024-02-04 20:52:21 +00:00
Harlan Wilton 365eaba229
refactor(nuxt): improve `NuxtLink` types (#25599) 2024-02-04 20:51:30 +00:00
Michael Brevard b485012f22
docs: add and link to a section on Nuxt context (#23546) 2024-01-31 09:46:21 +00:00
Daniel Roe f1fe97fc8a
fix(nuxt): prioritise later items in `pages:routerOptions` hook (#25509) 2024-01-30 13:55:18 +00:00
Якин Никита 658a0ffed7
feat(nuxt): `useId` composable (#23368)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-01-30 09:10:13 +00:00
Ivan Kalachikov 90ca0e8797
feat(nuxt): slow down loading indicator when approaching 100% (#25119) 2024-01-29 16:19:32 +00:00
Horváth Bálint 995acd9983
feat(nuxt): allow controlling view transitions in page meta (#25264) 2024-01-29 12:23:51 +00:00
Daniel Roe 73421483f6
fix(nuxt): improve return type of `useRequestEvent` (#25480) 2024-01-29 11:48:35 +00:00
Enkot 034d1aaa6f
feat(nuxt): `refreshCookie` + experimental CookieStore support (#25198) 2024-01-29 10:37:32 +00:00
Mostafa Said 02f86790c4
docs: updated addPluginTemplate example to add filename property (#25468) 2024-01-28 09:26:11 +00:00
Shay ae8bbe0b04
docs: add emphasis to `useAsyncData` explanation (#25392) 2024-01-23 15:42:05 +00:00
Daniel Roe 807ead6f1a
feat(nuxt): add `pages:routerOptions` hook (#24922) 2024-01-18 16:06:00 +00:00
Danila Rodichkin 6b651cf7bf
feat(nuxt): `tryUseNuxtApp` composable (#25031) 2024-01-18 09:59:59 +00:00
Julien Huang 18d279336d
docs: fix `addDevServerHandler` API (#25233) 2024-01-16 15:57:49 +00:00
Larry Williamson b3fb75c00e
docs: add information on custom path regexp in `definePageMeta` (#25073) 2024-01-16 12:54:27 +00:00
kongmoumou 97db0fada7
docs: add `--log-level` description (#25211) 2024-01-15 17:17:56 +00:00
Yi-Ru Lan 16256f3f30
docs: remove invalid nuxi aliases (#25209) 2024-01-15 11:23:40 +00:00
Petar Nikolov 2b417356ba
docs: fix typo (#25127) 2024-01-10 09:58:30 +01:00
toto6038 4168157214
docs: suggest using `<NuxtPage>` rather than `<RouterView>` (#25106) 2024-01-09 09:39:05 +00:00
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