Commit Graph

141 Commits

Author SHA1 Message Date
Julien Huang
900ee6dc8b
fix(nuxt): transform client fallbacks directly on SFCs (#20835) 2023-05-13 22:39:50 +01:00
Sébastien Chopin
6a052b583b
feat(nuxt): add useRequestURL helper (#20765) 2023-05-13 22:09:37 +01:00
Daniel Roe
7f0fe2fbe7
fix(nuxt): allow serialising undefined refs (#20828) 2023-05-13 20:49:05 +01:00
Daniel Roe
5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages (#20777) 2023-05-11 18:57:18 +01:00
Daniel Roe
566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) (#20628)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Daniel Roe
16bf228437
fix(nuxt): ensure useError is called with nuxt app context (#20585) 2023-05-01 23:55:24 +01:00
Julien Huang
ecf41537ca
fix(nuxt): throw errors when running legacy asyncData (#20535) 2023-04-27 11:51:33 +01:00
Daniel Roe
197de3ecbb
fix(nuxt): call app:error in SSR before rendering error page (#20511) 2023-04-26 14:36:59 +01:00
Daniel Roe
200cb2787e
fix(nuxt): throw 404 when accessing /__nuxt_error directly (#20497) 2023-04-25 15:47:02 +01:00
Julien Huang
e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +01:00
Daniel Roe
9110d41628
fix(nuxt): do not redirect when vue-router normalises url (#20247) 2023-04-13 03:14:44 -07:00
Daniel Roe
b011d3d76f
fix(nuxt): improve handling of redirects within middleware (#20244) 2023-04-13 02:58:25 -07:00
Daniel Roe
22f1f71e3e
fix(nuxt): mark entire payload as reactive (#20218) 2023-04-12 01:42:45 -07:00
Daniel Roe
67ca0815ac
test: add js payload test suite (#20217) 2023-04-11 15:57:12 -07:00
Daniel Roe
fe2800540c
fix(nuxt): set config on ssrContext in spa renderer (#20216) 2023-04-11 15:33:21 -07:00
Julien Huang
163913a744
feat(nuxt): add experimentalNoScripts route rule (#19805) 2023-04-11 07:17:44 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule (#20133) 2023-04-07 09:02:47 -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
Julien Huang
b068f79fee
fix(nuxt): add key to .client component placeholders (#20093) 2023-04-07 01:31:04 -07:00
Daniel Roe
f1baa0355b style: lint 2023-04-06 13:12:20 +01:00
Anthony Fu
72ba53efbc
feat(test-utils): allow mounting single component for testing (#5723) 2023-04-06 05:07:22 -07:00
Daniel Roe
f40b3e2492
feat(nuxt): support ~/~~/@/@@ aliases within layers (#19986) 2023-04-03 06:18:24 -07:00
Julien Huang
4671294229
fix(nuxt): directly render server components (#19605) 2023-03-20 14:47:06 -07:00
Daniel Roe
ebd7dcd4ba
fix(nuxt): handle external navigation to api routes (#19829) 2023-03-20 17:15:01 +00:00
Daniel Roe
3055ce35b1
fix(nuxt): use h3 utilities to set response status/code (#19713) 2023-03-19 16:20:04 -07:00
pooya parsa
e84ec61eeb
feat(nuxt): support app config for server routes (#19489) 2023-03-14 02:54:59 -07:00
Harlan Wilton
c91e4d7933
feat(nuxt): add useHeadSafe and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
Daniel Roe
50f0ec6a21
test: close pages after use (#19558) 2023-03-09 05:54:46 -08:00
Julien Huang
1729d2e42f
feat(nuxt): add <NuxtClientFallback> component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton
8732720221
perf(head): drop @vueuse/head dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe
df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Harlan Wilton
bb61496e98
feat(nuxt): allow configuring treeshakeable composables (#19383) 2023-03-07 01:30:05 -08:00
Alex Korytskyi
3a73f42d1c
feat(nuxt): support trailingSlashBehavior in defineNuxtLink (#19458) 2023-03-06 23:17:42 -08:00
Daniel Roe
3681bddfd5
feat(nuxt): auto-register modules in ~/modules (#19394) 2023-03-03 17:52:55 +00:00
Xin Du (Clark)
93c31cfd5b
chore: mark @nuxt/test-utils package as external group (#19419) 2023-03-03 02:58:15 -08:00
Anthony Fu
59918f569e
feat(nuxt): scan composables with star export (#19249) 2023-03-01 04:24:46 -08:00
Mathieu Magalhaes
f5a3d7968c
fix(nuxt): respect redirects which differ only by trailing slash (#18593)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:26:15 -08:00
Daniel Roe
7d0ecb5a96
fix(nuxt): show client error if no page matches after validate fails (#18978) 2023-02-16 04:56:14 -08:00
Nick Williams
9dc5413cbd
fix(vite): respect isCustomElement config for jsx transform (#19053) 2023-02-16 04:45:08 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
Daniel Roe
71bcd9550f test: skip vnode warning on windows dev mode 2023-02-14 00:02:41 +00:00
Daniel Roe
d036d3dec5
ci: run webpack/vite and dev/prod as matrices (#18905) 2023-02-13 22:09:32 +00:00
Julien Huang
113ce71c34
fix(nuxt): use parser to treeshake <ClientOnly> (#8713) 2023-02-08 00:59:57 -08:00
Daniel Roe
b8f6243621
fix(nuxt): provide fallback values for undefined runtime config (#18586) 2023-01-28 07:18:04 -08:00
Daniel Roe
23e5f980ea
fix(vite): ensure newly created pages do not return 404 (#18447)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-25 04:24:58 -08:00
Daniel Roe
eac787eb48 test: bump test timeout 2023-01-24 13:21:57 +00:00
Anthony Fu
5ede291a14 test: init hmr testing (#4372) 2023-01-22 16:47:24 +00:00
Daniel Roe
5e1881c20a
feat(nuxt): support server components with extracted payloads (#10113) 2023-01-20 12:10:58 +00:00
Daniel Roe
081dc3254f chore: update internal repo/issue links to usenuxt/nuxt 2023-01-19 19:37:07 +00:00
Anthony Fu
1e8da22893
fix(vite): add additional before skipping vite transform (#10120) 2023-01-16 16:04:16 +00:00