Commit Graph

295 Commits

Author SHA1 Message Date
Daniel Roe
dd1cdbc052
fix(nuxt): provide typescript aliases for core packages (#26158) 2024-03-08 22:58:37 +00:00
Bogdan Kostyuk
98aa2c222f
feat(nuxt): usePreviewMode composable (#21705) 2024-03-06 17:14:15 +00:00
Julien Huang
6d93014c52
feat(nuxt): allow using nuxt-client in all components (#25479) 2024-03-06 15:26:19 +00:00
Bogdan Kostyuk
230f6b4f19
feat(nuxt): client-only pages (#25037) 2024-03-06 14:38:39 +00:00
Daniel Roe
b4bce578c6
fix(nuxt): don't refetch server components in initial html (#26089) 2024-03-06 11:55:06 +00:00
Julien Huang
196223c0fb
feat(nuxt): server-only pages (#24954) 2024-02-26 17:39:26 +00:00
Michael Brevard
ff1bb56e3f
perf: early return chained functions with falsy values (#25647) 2024-02-26 16:08:45 +00:00
OnlyWick
e817655c14
fix(nuxt): in dev, don't link css files with ?inline query (#25822) 2024-02-16 17:04:37 +00:00
renovate[bot]
936ad91b0a
chore(deps): update all non-major dependencies (main) (#25780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-14 10:56:21 +00:00
Daniel Roe
29b338f8aa
fix(nuxt): don't add extra baseURL on server useRequestURL (#25765) 2024-02-13 10:30:39 +00:00
Julien Huang
7dd0225007
fix(nuxt): fetch non-server rendered islands when hydrating (#25613) 2024-02-05 10:36:20 +00:00
Enkot
876d910c3f
fix(nuxt): broadcast cookie change in correct format (#25598) 2024-02-03 23:15:26 +00:00
Bobbie Goede
67445550b0
ci: retry flaky test when using Webpack (#25550) 2024-02-01 11:03:47 +00:00
Bobbie Goede
f665434781
ci: retry flaky test when running in Windows with Webpack (#25543) 2024-01-31 19:06:53 +00:00
Bobbie Goede
f3c1c3e381
ci: retry flaky test when running in Windows with Webpack (#25536) 2024-01-31 17:49:35 +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
Enkot
034d1aaa6f
feat(nuxt): refreshCookie + experimental CookieStore support (#25198) 2024-01-29 10:37:32 +00:00
Daniel Roe
c446602529
fix(vite): extract styles for shared chunks (#25455) 2024-01-28 21:25:42 +00:00
Daniel Roe
1daf92b3de
test: avoid explicit timeouts (#25395) 2024-01-24 11:49:47 +00:00
Julien Huang
89541f4164
test: remove miswritten test (#25347) 2024-01-21 11:31:29 +00:00
Becem
a551b216ea
fix(nuxt): use default export for raw components (#25282) 2024-01-20 20:43:11 +00:00
Becem
10af369436
fix(nuxt): use named import for lazy components (#25286) 2024-01-19 21:43:19 +00:00
Julien Huang
ce7845cbcf
fix(nuxt): allow omitting fallback in island response (#25296) 2024-01-18 22:20:01 +00:00
Pooya Parsa
dab2188d58
feat: experimental client-side Node.js compatibility (#25028) 2024-01-18 16:09:27 +00:00
Danila Rodichkin
6b651cf7bf
feat(nuxt): tryUseNuxtApp composable (#25031) 2024-01-18 09:59:59 +00:00
renovate[bot]
37e57c747a
chore(deps): update devdependency @nuxt/test-utils to v3.10.0 (main) (#25271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-17 17:58:23 +00:00
Danila Rodichkin
6ca3a6fecb
fix(nuxt): don't share object between raw cookie and cookie ref (#25255) 2024-01-17 11:53:14 +00:00
Daniel Roe
430e207bc4
refactor(nuxt): rename to data-island-component (#25232) 2024-01-16 16:33:45 +00:00
Julien Huang
986786a4a9
refactor(nuxt): refactor island response + improve rendering (#25190) 2024-01-16 13:22:50 +00:00
Daniel Roe
7087a06c6d
fix(nuxt): clone cookie to detect changes within object (#25007) 2024-01-02 15:37:19 +00:00
Julien Huang
4d40e2e996
test: start listening for requests earlier (#24985) 2024-01-01 12:33:11 +00:00
Alexander Lichter
9de21173a8
test: add missing payload checks (#24899) 2023-12-26 20:04:14 +00: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
Daniel Roe
d5c95ad472
fix(nuxt): revert async transform of setup within defineComponent (#24784) 2023-12-16 11:09:41 +00:00
Daniel Roe
db3a9f0554
feat(nuxt): transform setup within defineComponent options (#24515) 2023-12-14 21:00:36 +00:00
Alper Doğan
3cc333690b
feat(nuxt): layers support for spa loading template (#24709) 2023-12-13 11:54:56 +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
Daniel Roe
2026543a5b
chore: update vitest dependencies (#24659) 2023-12-11 18:20:11 +00:00
Julien Huang
0eb9caf0c2
fix(nuxt): remove experimental reactivityTransform (vue 3.4) (#24477) 2023-11-27 23:02:02 +00:00
Pooya Parsa
1012dc0dbd
fix(nuxt): avoid recursive ssr errors (#24399) 2023-11-22 09:58:29 +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
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
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
3bc3aeaf62 test: close out some missing browser contexts 2023-05-28 10:47:03 -05: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
b2a769a863 chore: remove outdated todo comment 2023-05-19 08:28:39 +01:00
Daniel Roe
d2e14b678b
fix(nuxt): prioritise vue app context when available (#20910) 2023-05-17 13:26:16 +01:00