Commit Graph

204 Commits

Author SHA1 Message Date
Aaron_Zhou 5493d60c4a
fix(nuxt): provide route component names to `KeepAlive` cache (#24024) 2023-11-14 16:56:31 +00:00
Daniel Roe 9bab21edbc
test: add route-provider e2e test (#24195) 2023-11-09 03:21:19 +00:00
Daniel Roe 75cf1914ba
chore: extract `@nuxt/test-utils` to separate repo (#24146) 2023-11-06 15:38:45 +00:00
webfansplz ea3ce937e6
fix(nuxt): handle async children in `ClientFallback` (#24086) 2023-11-03 21:04:26 +00:00
Daniel Roe dce8ebb336
test: await before asserting console logs (#24051) 2023-10-31 13:56:28 +01: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
Daniel Roe 3d6ab2e4fe
fix(nuxt): use `.json` extension for server components (#23802) 2023-10-20 16:58:02 +01:00
warflash f4d67a9bcd
fix(nuxt): refetch both undefined/null values in `useAsyncData` (#23351) 2023-10-16 20:20:02 +01:00
Julien Huang 24b629e82e
fix(nuxt): skip hydration mismatches with client components (#19231) 2023-10-16 14:09:54 +01:00
Daniel Roe 458acbb8e1
fix(nuxt): give priority to later middleware when deduping (#23552) 2023-10-12 23:21:02 +01:00
Ezra Adeyinka 8db82af3a9
chore: fix various typos and update to US English (#23580) 2023-10-10 12:14:55 +01:00
Daniel Roe 4063b498d3
feat(nuxt): enable `appManifest` by default (#23448) 2023-09-30 10:58:55 +01:00
Julien Huang 2b273fa8e1
feat(kit): add `addServerImports` and `addServerImportsDir` (#23288) 2023-09-28 11:08:02 +01:00
Daniel Roe 7dce07653c
fix(nuxt): experimental build manifest + client route rules (#21641) 2023-09-19 22:31:18 +01:00
Joaquín Sánchez bc8a1fa614
fix(nuxt): load layer middlewares before project middlewares (#22925) 2023-09-16 09:39:51 +01:00
Daniel Roe 15e6dfb560
fix(nuxt): allow granularly overriding pages in layers (#23134) 2023-09-12 10:46:35 +01:00
Daniel Roe 63d189a0c7
ci: update fixtures to node 18 (#23122) 2023-09-11 14:05:14 +01:00
Julien Huang 48fb6e243b
fix(nuxt): scroll to top by default on dynamic routes (#22403) 2023-09-06 20:44:59 +01:00
Saman beb7410777
fix(nuxt): always use increment for id with client side islands (#22975) 2023-09-05 11:27:00 +01:00
Joaquín Sánchez 89c4436ae1
fix(nuxt): load layer plugins before project plugins (#22889) 2023-09-04 23:41:51 +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 e93195a317
test: refactor test suite and reduce `networkidle` dependency (#22596) 2023-08-12 08:18:58 +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
renovate[bot] 40fdff8b68
chore(deps): update dependency vue-bundle-renderer to v2 (main) (#22408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-31 11:34:34 +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
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
Julien Huang f4ec04f520
fix(nuxt): add `baseURL` to island fetch requests (#22009) 2023-07-18 16:07:35 +01:00
Daniel Roe d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route (#21823) 2023-07-05 12:39:39 +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 12403d160f
fix(vite): emit assets referenced in inline css (#21790) 2023-06-26 13:11:12 +01:00
Daniel Roe dd913ce0d8
fix(vite): resolve css files without importer id first (#21770) 2023-06-25 22:51:31 +01:00
Daniel Roe 4cc9a7135d
fix(nuxt): inline global css with `ssr: false` route rule (#21763) 2023-06-25 22:50:42 +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 f97052cbaf test: skip instance error test in vite ecosystem CI 2023-06-14 11:21:12 +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