Commit Graph

278 Commits

Author SHA1 Message Date
Joaquín Sánchez 89c4436ae1
fix(nuxt): load layer plugins before project plugins (#22889) 2023-09-04 23:41:51 +01:00
Alex Liu 2d46971162
fix(nuxt): ensure middleware is processed when returning `true` (#22905) 2023-08-31 10:19:26 +01:00
Daniel Roe 54a6eab406
feat(kit,nuxt): respect nuxt ignore patterns in nitro (#22808) 2023-08-25 13:08:38 +01:00
Daniel Roe b5ce892864
fix(nuxt): respect ignorelist when scanning auto-imports (#22782) 2023-08-24 13:42:15 +01:00
Jongmin Yoon 6f7d86be78
fix(nuxt): recreate `asyncData` when `immediate` is disabled (#20980) 2023-08-24 13:06:29 +01:00
Daniel Roe 29f4eeff69
feat(nuxt): add support for `routeRules` defined within pages (#20391) 2023-08-23 21:38:17 +01:00
Daniel Roe 815230c1b5
test: add regression test for escaping payload (#22774) 2023-08-23 21:03:10 +01:00
anhao 4e538a03e2
fix(vite): use `''` key for root scope in variable collector (#22679) 2023-08-17 15:35:28 +02:00
Pooya Parsa c8cba7a062 test: reduce verbose log outputs 2023-08-15 07:35:56 +01:00
Harlan Wilton d50a416304
feat(nuxt): add `experimental.headNext` unhead integration (#22620) 2023-08-14 20:33:00 +01:00
Daniel Roe b2cea4927e
feat(nuxt): allow experimental `global: 'sync'` components (#22558) 2023-08-09 12:19:00 +01:00
Daniel Roe 53c706b575
test: remove JS payload test + add non-async context test (#22530) 2023-08-08 10:45:37 +01:00
pooya parsa 554f868bce
feat(nuxt): experimental native async context support (#20918)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 00:57:35 +02:00
Lucas Vargas ffd0223583
feat(vite,webpack): tree-shakable `import.meta.*` build flags (#22428) 2023-08-07 23:03:40 +01:00
Daniel Roe ae8314b236
chore: refresh lockfile (#22518) 2023-08-07 14:03:41 +01:00
Harlan Wilton ac93558aa6
fix(nuxt): broken capo.js `injectHead` usage (#22447) 2023-08-03 07:15:43 +01:00
Daniel Roe 5926bbeff8
feat(nuxt): allow 'lazy' (non-blocking) server components (#21918) 2023-07-31 09:51:09 +01:00
Julien Huang 0f839dd723
feat(nuxt): environment-specific plugin execution for islands (#20726) 2023-07-30 22:36:11 +01:00
Anthony Fu e3437c67d6
fix(nuxt): components auto-import for JSX (#22330) 2023-07-26 05:30:44 +01:00
Julien Huang 2e6c4519cf
fix(nuxt): bind `createClientOnly` render function to ctx (#22289) 2023-07-24 09:00:31 +01:00
Daniel Roe 5b409f8579
fix(nuxt): avoid premature hydration when using async layouts (#22198) 2023-07-19 07:55:53 +01:00
Daniel Roe 449a01526a
fix(nuxt): ensure we only increment hydrating count once (#22200) 2023-07-18 16:21:53 +01:00
Daniel Roe c10a624052 chore: add explicit vue dependency in fixtures 2023-07-06 13:07:17 +01:00
Daniel Roe d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route (#21823) 2023-07-05 12:39:39 +02:00
anhao e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables (#21891) 2023-07-05 11:35:45 +02:00
Julien Huang 9f5130d06b
fix(nuxt): stop loading indicator on navigation failure (#21751) 2023-07-03 12:14:17 +01:00
Daniel Roe 489b088836
fix(nuxt): only redirect if path is not the same as initial url (#21815) 2023-06-27 11:15:35 +01:00
Daniel Roe 9c8746f2a6
chore: prune internal unused code and exports (#21809) 2023-06-27 10:38:40 +01:00
Daniel Roe 4a7134f9b4
fix(nuxt): use starting index when transforming islands (#21795) 2023-06-26 19:32:02 +01:00
Daniel Roe 12403d160f
fix(vite): emit assets referenced in inline css (#21790) 2023-06-26 13:11:12 +01:00
Daniel Roe 88bc32d42a
fix(nuxt): proxy headers to islands + returned prerender hints (#21740) 2023-06-25 17:38:15 +01:00
Anthony Fu adb1c122a7
fix(nuxt): fix error on layout switching (#21450)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-23 11:02:01 +01:00
Daniel Roe 343a46d5f9
fix(nuxt): inline css directly in root component (#21573) 2023-06-20 19:28:44 +01:00
Daniel Roe 2abcc16cfb
perf(nuxt): extract and apply plugin order at build time (#21611) 2023-06-20 00:00:03 +01:00
Inesh Bose c73bed8c6d
feat(kit): allow direct function in `defineNuxtModule` (#20763) 2023-06-16 15:47:38 +01:00
Daniel Roe 19fc2828fb
perf(nuxt): use prerendered islands to serialise/revive payload (#21461) 2023-06-14 10:09:27 +01:00
Daniel Roe 05a8c2d955
fix(nuxt): respect query/hash for external routes in `navigateTo` (#21500) 2023-06-11 22:27:02 +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
Daniel Roe 7710ed30fa
fix(nuxt): skip vue render when redirecting (#21412) 2023-06-07 13:18:50 +01:00
Daniel Roe 370b84e909
fix(nuxt): handle page rendering on different path (#21408) 2023-06-06 22:47:32 +01:00
anhao 67f2232014
fix(vite): skip generating keys for locally scoped functions (#20955) 2023-06-05 20:15:12 +01:00
Daniel Roe ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData (#21263) 2023-06-05 19:36:26 +01:00
Daniel Roe c9adf700a4
fix(nuxt): handle serialising empty bigint (#21257)
Co-authored-by: lorado <eugen.sacharow@gmx.de>
2023-05-30 13:53:04 +02:00
Louis Haftmann 92bc999d0e
fix(nuxt): omit `Set-Cookie` header if value is null (#21072) 2023-05-26 14:42:12 -05:00
Alexander e50cabfed1
fix(nuxt): show error page after fatal `abortNavigation` (#21047) 2023-05-25 13:29:22 -05:00
Daniel Roe fd30cc1e89
test: refactor type tests into a separate fixture (#21007) 2023-05-22 20:44:03 +01:00
Daniel Roe 980728275a
fix(nuxt): use `resolvePath` to handle edge cases for modules (#20975) 2023-05-20 23:29:32 +01:00
Haruaki OTAKE b88aab049f
fix(nuxt): use `default` type for initial value for composables (#20968) 2023-05-20 23:19:50 +01:00