Commit Graph

217 Commits

Author SHA1 Message Date
Daniel Roe 35ebf8d90b
test: add regression test for using `route` in template (#28967) 2024-09-13 12:31:26 +01:00
Daniel Roe 2f0a28d47e
refactor(nuxt): use `vite:preloadError` event (#28862) 2024-09-11 11:01:55 +01:00
Eckhardt (Kaizen) Dreyer c8cff9be54
fix(nuxt): handle deleted cookies from `CookieStore` events (#28760) 2024-08-30 14:37:19 +01:00
Julien Huang 8730dde90b
feat(nuxt): allow server islands to manipulate head (#27987) 2024-08-22 13:05:39 +01:00
felix-dolderer 85719f00aa
fix(nuxt): allow customising status code in `validate` method (#28612) 2024-08-21 12:51:22 +01:00
Horu 7658420b1c
feat(nuxt): allow organising pages within route groups (#28276) 2024-08-12 22:16:04 +01:00
rubyisrust c172207879
chore: fix some typos in comments (#28501) 2024-08-12 10:42:47 +01:00
Julien Huang d21bd84439
perf(nuxt): avoid making client-only component setup async (#28334) 2024-08-12 09:37:43 +01:00
renovate[bot] c906312034
chore(deps): update all non-major dependencies (main) (#28321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-05 16:33:27 +01:00
Julien Huang e5a7a58d49
test: disable `pageTransition` in client-only page (#27839) 2024-07-23 22:44:35 +02:00
Daniel Roe 58f4f47791
fix(nuxt): prevent duplicate `set-cookie` headers (#28211) 2024-07-18 22:03:50 +01:00
Daniel Roe eb31abe10e
fix(nuxt): use `addEventListener` to register cookie store listener (#28193) 2024-07-18 15:52:40 +01:00
Julien Huang ed7a14aecc
fix(nuxt): use pascal name when loading server component (#27928) 2024-07-01 09:07:25 +01:00
Daniel Roe c628975efc
fix(nuxt): use URL to encode redirected URLs (#27822) 2024-06-26 11:58:45 +02:00
Daniel Roe e634a1ebd7
test: slightly improve test reliability (#27811) 2024-06-25 08:48:39 +02:00
Daniel Roe 57e84086cc
fix(nuxt)!: improve default `asyncData` value behaviour (#27718) 2024-06-19 18:04:40 +01:00
Daniel Roe 220cc502a1
fix(nuxt): preserve route metadata assigned outside page (#27587) 2024-06-13 17:59:24 +01:00
Daniel Roe 95458af9a1
fix(nuxt): handle more edge cases with external/custom links (#27487) 2024-06-13 16:39:37 +01:00
Daniel Roe ab887d90d7
fix(nuxt): handle tsx code when extracting pageMeta/routeRules (#27583) 2024-06-13 14:44:08 +01:00
Daniel Roe 11a79359b8
fix(nuxt): remove `boolean` value for `dedupe` in v4 compat (#27511) 2024-06-10 21:51:40 +01:00
Daniel Roe 305c7348bd
fix(vite): ignore query/hash when resolving public assets (#27306) 2024-05-22 15:40:29 +01:00
Daniel Roe 8a759bc6fe
fix(nuxt): use `undefined` rather than `null` for data fetching defaults (#27294) 2024-05-21 23:58:38 +01:00
Julien Huang a618a5c1d1
fix(nuxt): encode `location` header in `navigateTo` (#27280) 2024-05-20 21:02:46 +01:00
renovate[bot] 1ce1a55a87
chore(deps): update devdependency @nuxt/eslint-config to v0.3.13 (main) (#27262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-05-17 16:54:33 -05:00
Nicolas Payot 177517951c
feat(nuxt): support multiple nuxtApps at runtime (#27068) 2024-05-08 13:32:45 +01:00
Daniel Roe 3169c5cec7
feat(nuxt): add `onPrehydrate` lifecycle hook (#27037) 2024-05-07 15:04:21 +01:00
Danila Rodichkin ea21feaaf4
fix(nuxt): don't overwrite existing scope in `runWithContext` (#26976) 2024-05-03 11:27:38 +01:00
Pooya Parsa fdbfed1280
chore: fix small typos (#26907) 2024-04-23 13:53:11 +01:00
Julien Huang 62296818aa
fix(nuxt): don't encode location header (#26893) 2024-04-22 22:11:46 +01:00
Joaquín Sánchez 4dbe748cfc
feat(nuxt): expose `useLink` from `NuxtLink` (#26522) 2024-04-19 12:48:49 +03:00
Ivan Kalachikov 4fea6da1ae
feat(nuxt): add `<NuxtRouteAnnouncer>` and `useRouteAnnouncer` (#25741) 2024-04-17 16:58:13 +01:00
Julien Huang 30e27f48d1
fix(nuxt): encode location header in navigateTo (#26712) 2024-04-10 09:03:25 +02:00
Anthony Fu f209158352
chore: cleanup eslint rules with latest `@nuxt/eslint-config` (#26653) 2024-04-05 19:08:32 +01:00
Damian Głowala 386be0b866
docs: replace `process.*` with `import.meta.*` (#26611) 2024-04-02 12:46:05 +01:00
Horu f9fe282506
feat(nuxt): add `nuxtMiddleware` route rule (#25841) 2024-03-16 11:53:01 -07:00
Daniel Roe b102d04185
feat(vite): handle multiple/custom public dirs (#26163) 2024-03-13 17:18:44 -07:00
Alexander Lichter 536998727a
feat(nuxt): add dedicated `#teleports` element for ssr teleports (#25043) 2024-03-11 07:33:49 -07:00
Daniel Roe 7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +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
Daniel Roe 4fbbc10f62
fix(nuxt): skip vue style blocks in unctx transform (#26059) 2024-03-03 21:36:12 +00:00
Julien Huang 196223c0fb
feat(nuxt): server-only pages (#24954) 2024-02-26 17:39:26 +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
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
Якин Никита 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