Commit Graph

201 Commits

Author SHA1 Message Date
Julien Huang e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +01:00
Daniel Roe 83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +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 574a5616b4
perf: remove unused deps and add implicit deps (#20356) 2023-04-19 16:45:13 +01:00
Daniel Roe 8aa86559c8
fix(nuxt): mark `useRequestHeaders` keys as optional (#20286) 2023-04-15 15:43:19 +01:00
Daniel Roe 3754591257
fix(nuxt): return type directly if not picking asyncData (#20288) 2023-04-15 11:03:09 +01:00
Daniel Roe f366ab4eb8
chore: remove `@ts-ignore` and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Daniel Roe 9110d41628
fix(nuxt): do not redirect when `vue-router` normalises url (#20247) 2023-04-13 03:14:44 -07: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
Daniel Roe 67ca0815ac
test: add js payload test suite (#20217) 2023-04-11 15:57:12 -07:00
Daniel Roe fe2800540c
fix(nuxt): set config on `ssrContext` in spa renderer (#20216) 2023-04-11 15:33:21 -07:00
Julien Huang 163913a744
feat(nuxt): add `experimentalNoScripts` route rule (#19805) 2023-04-11 07:17:44 -07:00
Daniel Roe 4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
Daniel Roe d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
Daniel Roe b33b84d57e chore: use workspace ref 2023-04-10 12:36:07 +01:00
Daniel Roe 9878c5b6e4
style: enable `sort-imports` eslint rule (#20133) 2023-04-07 09:02:47 -07:00
Harlan Wilton 0c9823eb87
perf(head): disable `@vueuse/head` polyfill by default (#20131) 2023-04-07 06:10:35 -07:00
Daniel Roe c65c5a8e79
fix(nuxt): deprecate old (pre-rc) runtimeConfig (#20082) 2023-04-07 04:36:45 -07:00
Daniel Roe 6ddea42f96
refactor(nuxt): remove `#head` alias (#20111) 2023-04-07 03:36:41 -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 b068f79fee
fix(nuxt): add key to `.client` component placeholders (#20093) 2023-04-07 01:31:04 -07:00
Daniel Roe b811742f89
fix(nuxt): add types for globally injected `$config` object (#20081) 2023-04-04 06:34:39 -07:00
Daniel Roe f40b3e2492
feat(nuxt): support `~`/`~~`/`@`/`@@` aliases within layers (#19986) 2023-04-03 06:18:24 -07:00
Daniel Roe c660b39447
fix(nuxt): disable `x-nuxt-no-ssr` header by default (#20024) 2023-04-03 03:39:01 -07:00
Daniel Roe 8c2ca23c55 chore: fix fixture package.json files 2023-03-31 10:49:29 +01: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
Anthony Fu ce575b49e3
fix(nuxt): ignore falsy modules (#19684) 2023-03-19 16:16:13 -07:00
Daniel Roe 4b2cb52f8a
fix(nuxt): fix default injection type for plugins (#19669) 2023-03-14 06:08:43 -07:00
Daniel Roe 0f6276dc6e
fix(nuxt): mark non-augmented NuxtApp properties as unknown (#19643) 2023-03-14 03:09:50 -07:00
pooya parsa e84ec61eeb
feat(nuxt): support app config for server routes (#19489) 2023-03-14 02:54:59 -07:00
Daniel Roe 60b4c48eb4
fix(nuxt,schema): merge custom and resolved app configs (#19602) 2023-03-11 14:53:28 -08:00
Xin Du (Clark) 4de4de1a71
fix(nuxt): improve types for data fetching with `transform` (#19487) 2023-03-11 14:36:10 -08:00
Daniel Roe b19b35fb67
fix(nuxt): provide node16-style type exports (#18431) 2023-03-11 13:16:01 -08: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
pooya parsa 71225e50c5
feat(nuxt): enable config schema by default (#19172) 2023-03-04 06:39:26 -08:00
Daniel Roe 3681bddfd5
feat(nuxt): auto-register modules in `~/modules` (#19394) 2023-03-03 17:52:55 +00: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