Commit Graph

188 Commits

Author SHA1 Message Date
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
Daniel Roe 96b09ea982
feat(nuxt): add experimental `app:chunkError` hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
Daniel Roe d036d3dec5
ci: run webpack/vite and dev/prod as matrices (#18905) 2023-02-13 22:09:32 +00:00
Lioness100 b25b6c82c7
docs: fix typos (#18976) 2023-02-12 19:16:42 +00:00
Daniel Roe 19bef5aba4
fix(schema): allow type inference of arrays in runtime config (#18931)
* fix(schema): allow type inference of arrays in runtime config

* test: add types fixture
2023-02-10 07:36:10 +00:00
Daniel Roe 5426e5609a test: decrease vite logging during tests 2023-02-09 09:26:23 +01:00
Julien Huang 113ce71c34
fix(nuxt): use parser to treeshake `<ClientOnly>` (#8713) 2023-02-08 00:59:57 -08:00
Dany Sluijk bae73c3650
feat(nuxt): infer `useFetch` return based on the method (#18526) 2023-02-07 06:01:31 -08:00
Daniel Roe 01076d144f
feat(schema): add type hints for runtime config (#18652) 2023-02-06 15:27:35 -08:00
Daniel Roe b8f6243621
fix(nuxt): provide fallback values for undefined runtime config (#18586) 2023-01-28 07:18:04 -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
Daniel Roe 9751c9dab7
fix(nuxt): do not override inferred type of `<NuxtPage>` (#18495) 2023-01-25 00:44:59 -08:00
pooya parsa 1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00