Commit Graph

403 Commits

Author SHA1 Message Date
Daniel Roe 4e6812d92c
fix(nuxt): don't append new route for redirect if one exists (#26368) 2024-03-20 09:54:25 +00:00
Daniel Roe 87c0678f99
fix(nuxt): provide appMiddleware types with universal router 2024-03-16 15:12:49 -07:00
Daniel Roe 70669012fb
test: add type test for appMiddleware route rules 2024-03-16 15:07:08 -07:00
Daniel Roe cac7454702
refactor(nuxt): rename `nuxtMiddleware` to `appMiddleware` 2024-03-16 15:03:09 -07:00
Daniel Roe 0fc363a4f5
chore: tidy dependencies 2024-03-16 14:58:36 -07:00
Horu f9fe282506
feat(nuxt): add `nuxtMiddleware` route rule (#25841) 2024-03-16 11:53:01 -07:00
Daniel Roe b9168d0b0b
fix(vite): drop name prefix for client chunk file names (#26203) 2024-03-15 11:31:13 -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
Daniel Roe 0cc7f298f9
feat(nuxt): support async transforms for data composables (#26154) 2024-03-08 19:22:46 +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
Mateusz Kulpa b5981f6840
fix(nuxt): add missing type for `head` in `defineNuxtComponent` (#25410) 2024-02-22 11:11:44 +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
Anthony Fu 3f882c95f6
ci: typecheck code samples in docs (#25777) 2024-02-15 10:07:39 +00:00
Daniel Roe 4f3391fc0a
fix(nuxt): remove undefined keys in route object (#25667) 2024-02-07 10:00:19 +00:00
Julien Huang 7dd0225007
fix(nuxt): fetch non-server rendered islands when hydrating (#25613) 2024-02-05 10:36:20 +00:00
Daniel Roe e8d1219886
fix(nuxt): remove key from `useId` type signature (#25614) 2024-02-04 22:11:53 +00:00
Enkot 876d910c3f
fix(nuxt): broadcast cookie change in correct format (#25598) 2024-02-03 23:15:26 +00:00
Daniel Roe f1fe97fc8a
fix(nuxt): prioritise later items in `pages:routerOptions` hook (#25509) 2024-01-30 13:55:18 +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
Daniel Roe 73421483f6
fix(nuxt): improve return type of `useRequestEvent` (#25480) 2024-01-29 11:48:35 +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
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
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
Danila Rodichkin 6ca3a6fecb
fix(nuxt): don't share object between raw cookie and cookie ref (#25255) 2024-01-17 11:53:14 +00:00
Anthony Fu 6c6032782f
test: add separate suspense test suite (#22947) 2024-01-17 11:46:13 +00:00
Daniel Roe 653856627c
fix(nuxt): reuse intermediate setup state in `<ClientOnly>` (#25009)
Co-authored-by: julien huang <julien.huang@outlook.fr>
2024-01-02 21:04:58 +00:00
Daniel Roe 7087a06c6d
fix(nuxt): clone cookie to detect changes within object (#25007) 2024-01-02 15:37:19 +00:00
Daniel Roe 32d2c99c5f
refactor(schema): introduce `future` and `features` namespace (#24880) 2023-12-25 14:03:29 +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
Harlan Wilton 642d4dc9de
fix(nuxt): eager load island components map (#24584) 2023-12-19 10:07:34 +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
Julien Huang 5877e11c89
feat(nuxt): allow plugins to specify dependencies (#24127) 2023-12-14 17:11:08 +00:00
Damian Głowala 72c8503236
fix(nuxt): ensure `error` in `useAsyncData` has correct type (#24396) 2023-12-14 12:41:40 +00:00
Daniel Roe 7827f1843b
feat(kit): load `/module` or `/nuxt` module subpath if it exists (#24707) 2023-12-12 17:55:21 +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
Harlan Wilton 0f705f3d4a
fix(nuxt): island components with number prefix (#24469) 2023-11-28 22:06:32 +00:00
Daniel Roe e3b8b84a24
feat(nuxt): allow readonly option for `useCookie` (#24503) 2023-11-28 13:35:43 +00:00