Commit Graph

113 Commits

Author SHA1 Message Date
Daniel Roe d2e14b678b
fix(nuxt): prioritise vue app context when available (#20910) 2023-05-17 13:26:16 +01:00
Julien Huang 70c5ec86d2
feat(nuxt): full scoped slots support for server components (#20284) 2023-05-15 23:43:53 +01:00
Julien Huang 603e7e7fb1
feat(nuxt): allow keeping fallback for `NuxtClientFallback` (#20336) 2023-05-14 22:22:54 +01:00
Inesh Bose d077c10c41
feat(nuxt): allow fallback production content in `<DevOnly>` (#20817) 2023-05-13 23:32:31 +01:00
Sébastien Chopin 6a052b583b
feat(nuxt): add `useRequestURL` helper (#20765) 2023-05-13 22:09:37 +01:00
Daniel Roe 7f0fe2fbe7
fix(nuxt): allow serialising undefined refs (#20828) 2023-05-13 20:49:05 +01:00
Daniel Roe 5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages (#20777) 2023-05-11 18:57:18 +01:00
Eduardo San Martin Morote 5781cf1569
feat(nuxt): add experimental `typedPages` option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe f73bb1de0a
fix(nuxt): return `RenderResponse` for redirects (#20496) 2023-04-28 11:18:03 +01:00
Julien Huang ecf41537ca
fix(nuxt): throw errors when running legacy `asyncData` (#20535) 2023-04-27 11:51:33 +01:00
Daniel Roe 197de3ecbb
fix(nuxt): call `app:error` in SSR before rendering error page (#20511) 2023-04-26 14:36:59 +01:00
Julien Huang e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +01:00
Daniel Roe c7be5b4ec6
refactor(nuxt): rework and use `isJS` and `isVue` utilities consistently (#20344) 2023-04-19 19:17:36 +01:00
Preet Mishra 48b48dec00
fix(nuxt): handle pages with no content and log warning (#20373) 2023-04-19 17:58:43 +01:00
Daniel Roe b011d3d76f
fix(nuxt): improve handling of redirects within middleware (#20244) 2023-04-13 02:58:25 -07:00
Daniel Roe 22f1f71e3e
fix(nuxt): mark entire payload as reactive (#20218) 2023-04-12 01:42:45 -07:00
Julien Huang 163913a744
feat(nuxt): add `experimentalNoScripts` route rule (#19805) 2023-04-11 07:17:44 -07:00
Daniel Roe d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
Daniel Roe 9878c5b6e4
style: enable `sort-imports` eslint rule (#20133) 2023-04-07 09:02:47 -07:00
Daniel Roe c65c5a8e79
fix(nuxt): deprecate old (pre-rc) runtimeConfig (#20082) 2023-04-07 04:36:45 -07:00
pooya parsa 9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
Julien Huang 4671294229
fix(nuxt): directly render server components (#19605) 2023-03-20 14:47:06 -07:00
Daniel Roe ebd7dcd4ba
fix(nuxt): handle external navigation to api routes (#19829) 2023-03-20 17:15:01 +00:00
Harlan Wilton c91e4d7933
feat(nuxt): add `useHeadSafe` and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
Julien Huang 1729d2e42f
feat(nuxt): add `<NuxtClientFallback>` component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton 8732720221
perf(head): drop `@vueuse/head` dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Daniel Roe 60d07df4cc
feat(nuxt): support custom keyed composables (#19490) 2023-03-07 13:06:15 -08:00
Harlan Wilton bb61496e98
feat(nuxt): allow configuring treeshakeable composables (#19383) 2023-03-07 01:30:05 -08:00
Alex Korytskyi 3a73f42d1c
feat(nuxt): support `trailingSlashBehavior` in `defineNuxtLink` (#19458) 2023-03-06 23:17:42 -08:00
Anthony Fu 59918f569e
feat(nuxt): scan composables with star export (#19249) 2023-03-01 04:24:46 -08:00
Mathieu Magalhaes f5a3d7968c
fix(nuxt): respect redirects which differ only by trailing slash (#18593)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:26:15 -08:00
Daniel Roe 7d0ecb5a96
fix(nuxt): show client error if no page matches after validate fails (#18978) 2023-02-16 04:56:14 -08:00
Julien Huang 61cd6b5c71
fix(nuxt): use parser to treeshake client-only declarations (#18951) 2023-02-16 04:47:42 -08:00
Nick Williams 9dc5413cbd
fix(vite): respect `isCustomElement` config for jsx transform (#19053) 2023-02-16 04:45:08 -08:00
Daniel Roe 96b09ea982
feat(nuxt): add experimental `app:chunkError` hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
Julien Huang 113ce71c34
fix(nuxt): use parser to treeshake `<ClientOnly>` (#8713) 2023-02-08 00:59:57 -08:00
Daniel Roe 1d68b51c2c
fix(nuxt): async transform for inline middleware (#18460) 2023-01-25 04:52:00 -08:00
Daniel Roe fdb31f418f
fix(nuxt): don't render unknown components with placeholder (#18494) 2023-01-25 02:30:59 -08:00
Anthony Fu 5ede291a14 test: init hmr testing (#4372) 2023-01-22 16:47:24 +00:00
Daniel Roe 5e1881c20a
feat(nuxt): support server components with extracted payloads (#10113) 2023-01-20 12:10:58 +00:00
Daniel Roe bf649fe576
fix(nuxt): allow overriding lower layer composables (#10017) 2023-01-14 01:14:24 +00:00
Mohammad Saleh Fadaei 5b19a0dc34
fix(nuxt): don't try to override computed layouts in `definePageMeta` (#9161) 2023-01-14 00:58:54 +00:00
Julien Huang f4ba7ec82d
fix(nuxt): don't short circuit middleware after validate function (#9180) 2023-01-14 00:23:20 +00:00
Daniel Roe 2d013c5fad
feat(nuxt): server-only components (#9972) 2023-01-09 11:20:33 +00:00
Daniel Roe 4cf110e0d8
fix(nuxt): make dev-only regexp less greedy (#9679) 2022-12-13 09:39:14 +00:00
Daniil Chudo ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Daniel Roe aa9aec112a
fix(nuxt): allow layouts to receive custom props (#9395) 2022-11-29 13:16:41 +01:00
Daniel Roe ab125bd1c5
feat(nuxt): experimental server component islands (#5689)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
Daniel Roe 2c2fbdffc9
refactor(nuxt)!: move `head` option support into `defineNuxtComponent` (#8901) 2022-11-15 15:47:17 +01:00