Commit Graph

407 Commits

Author SHA1 Message Date
Daniel Roe
6c7d430845
refactor(nuxt): remove process.* usage in nuxt vue app (#24749) 2023-12-14 13:58:25 +00:00
Damian Głowala
72c8503236
fix(nuxt): ensure error in useAsyncData has correct type (#24396) 2023-12-14 12:41:40 +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
Alexander Lichter
5d0e7e9d41
fix(nuxt): only add/remove trailing slash for http protocols (#23296) 2023-12-12 12:52:55 +00:00
Alexander Lichter
70dea8b83c
feat(nuxt): add path to error.data when throwing 404 errors (#24674) 2023-12-11 20:30:59 +00:00
Julien Huang
bfe9161d27
fix(nuxt): skip check for <NuxtLayout> usage in islands (#24529) 2023-11-30 11:29:37 +01:00
Daniel Roe
5b4d638720
fix(nuxt): remove trailing slash before checking if prerendered (#24516) 2023-11-29 10:18:24 +00:00
Daniel Roe
09161d005d
fix(nuxt): use consistent annotations for tree-shaking (#24514) 2023-11-28 23:20:54 +00:00
Harlan Wilton
0f705f3d4a
fix(nuxt): island components with number prefix (#24469) 2023-11-28 22:06:32 +00:00
Daniel Roe
e3b8b84a24
feat(nuxt): allow readonly option for useCookie (#24503) 2023-11-28 13:35:43 +00:00
Daniel Roe
dc0e8347bf
refactor(nuxt): use defineComponent to infer prop types for router-link stub 2023-11-28 09:53:24 +00:00
Luke Nelson
4ce6bc244c
feat(nuxt): warn when page uses a layout without <NuxtLayout> (#24116) 2023-11-23 21:12:28 +00:00
Anthony Fu
1cc05b9ae6
fix(nuxt): handle errors when booting app with app:error (#24376) 2023-11-20 21:18:26 +00:00
Christian Gil
a10e33c009
fix(nuxt): use max length + iterations for useCookie timeout (#24253) 2023-11-20 17:58:52 +00:00
Luke Nelson
6e44b1b6b6
fix(nuxt): respect custom timeout in useFetch (#24364) 2023-11-20 13:59:41 +00:00
Julien Huang
7cce0ef6e6
fix(nuxt): log errors rendering islands (#24356) 2023-11-18 20:47:55 +00:00
webfansplz
55e0f38dde
fix(nuxt): do not compute useFetch key from headers (reverts #23462) (#24333) 2023-11-16 14:04:48 +00:00
Daniel Roe
562532778b
fix(nuxt): deeply unwrap headers/query for useFetch key (#24307) 2023-11-15 19:40:55 +00:00
Aaron_Zhou
5493d60c4a
fix(nuxt): provide route component names to KeepAlive cache (#24024) 2023-11-14 16:56:31 +00:00
Daniel Roe
c1ddb359e3
chore: update to use @nuxt/eslint-config (#24209)
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00
Damian Głowala
61dd849aa7
fix(nuxt): wrap caught asyncData error in createError (#24093)
Co-authored-by: Bogdan Kostyuk <contact@bogdankostyuk.xyz>
2023-11-08 13:28:52 +00:00
webfansplz
ea3ce937e6
fix(nuxt): handle async children in ClientFallback (#24086) 2023-11-03 21:04:26 +00:00
Damian Głowala
6c48f8b8e6
fix(nuxt): account for delay ≤ 0 in useCookie (#24043) 2023-11-03 16:20:15 +00:00
Daniel Roe
e753abd7b8
fix(nuxt): resolve imports from virtual files (#24022) 2023-11-01 16:55:34 +01:00
Daniel Roe
c4bb8f31d4
fix(nuxt): do not register loading indicator hooks on server (#24052) 2023-10-31 17:36:44 +01:00
Daniel Roe
d7b1116443
perf(nuxt): use granular imports for auto-importing composables (#23951) 2023-10-30 22:05:02 +01:00
Daniel Roe
27791f4c33
perf(nuxt): remove pure annotations plugin (#24033) 2023-10-30 22:04:45 +01:00
Daniel Roe
62b7917d2c
fix(nuxt): use payload url for isPrerendered, not current route (#24031) 2023-10-30 21:56:34 +01:00
Hugo Torzuoli
64b99b1007
docs: update link to composables doc (#23989) 2023-10-28 06:53:09 +09:00
Mathieu ALBIN
a9218239ea
fix(nuxt): unset useCookie value when it expires (#23549) 2023-10-27 23:49:26 +09:00
Julien Huang
df022a4a9d
fix(nuxt): use route key for loading indicator/view transition (#23868) 2023-10-27 23:32:09 +09:00
renovate[bot]
22f8432089
chore(deps): update all non-major dependencies (main) (#23904)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-25 11:04:27 +09:00
Bastien Rossi
e4e3889421
refactor(nuxt): use useRequestEvent() internally (#23916) 2023-10-25 09:49:36 +09:00
Julien Huang
a037512562
fix(nuxt): render a div when client-only hydrates w/o element (#23899) 2023-10-25 09:34:22 +09:00
Anthony Fu
8c77ce81b9
fix(nuxt): init $fetch at entry start (#23906) 2023-10-25 09:31:25 +09:00
Daniel Roe
ba4361a0f0
fix(nuxt): only skip refetching errors when hydrating (#23889) 2023-10-23 23:04:45 +09:00
Daniel Roe
2dc078ea40
fix(nuxt): don't use local fetch with an external baseURL (#23884) 2023-10-23 21:17:41 +09:00
Daniel Roe
7b8e7f176d
fix(nuxt): handle relative baseURL in nitro runtime config (#23841) 2023-10-21 19:17:53 +01:00
Daniel Roe
3d6ab2e4fe
fix(nuxt): use .json extension for server components (#23802) 2023-10-20 16:58:02 +01:00
Jianqi Pan
ffa6b6e60c
fix(nuxt): resolve internal target: blank links with base (#23751) 2023-10-20 16:33:45 +01:00
Daniel Roe
8c9333a41c
fix(nuxt): ensure we add prerender hints to correct event (#23799) 2023-10-19 23:44:45 +01:00
Daniel Roe
108b1bdf72 fix(nuxt): restore prerenderedAt behaviour pending next patch 2023-10-19 15:24:38 +01:00
Daniel Roe
91c62d6c3e
fix(nuxt): don't use prerenderedAt to override app manifest (#23781) 2023-10-19 14:32:23 +01:00
Daniel Roe
5652346d7a
feat(nuxt): allow customising defaults for data composables (#23725) 2023-10-18 15:25:25 +01:00
Daniel Roe
9dd304628a
feat(nuxt): allow configuring default <NuxtLink> options (#23724) 2023-10-18 13:43:42 +01:00
Daniel Roe
6141c08a44
feat(nuxt): prompt to autoinstall @nuxt/image when it is used (#23717) 2023-10-17 12:07:31 +01:00
Daniel Roe
ae630c599f
fix(nuxt): don't mark redirected routes as prerendered (#23707) 2023-10-16 23:28:42 +01:00
Dario Ferderber
b52548d915
feat(nuxt): custom cache support for data fetching composables (#20747) 2023-10-16 20:54:39 +01:00
warflash
f4d67a9bcd
fix(nuxt): refetch both undefined/null values in useAsyncData (#23351) 2023-10-16 20:20:02 +01:00