Commit Graph

81 Commits

Author SHA1 Message Date
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
Daniel Roe 9227361027
fix(nuxt): detect non-functional imports within page meta (#8881) 2022-11-10 11:31:01 +01:00
Daniel Roe ee8e9ae656
test: update type test for strict mode (#8669) 2022-11-03 21:22:20 +01:00
Daniel Roe 491d02f6ca
fix(nuxt)!: use parser to generate page metadata (#8536) 2022-11-02 11:28:41 +01:00
Daniel Roe d862a6bfdd
fix(nuxt)!: `refresh` to override previous requests by default (#8190) 2022-10-15 13:02:23 +02:00
Harlan Wilton 9e6d292ba6
feat(nuxt): migrate to latest `@vueuse/head` (#8000) 2022-10-12 18:00:17 +01:00
Daniel Roe 5f003a9738
feat(nuxt): add `ssr` route rule to enable SPA mode (#7938) 2022-10-11 17:03:52 +01:00
Julien Huang ee41bb6d5d
feat(nuxt): wrap `#components` client exports with createClientOnly (#7412)
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-11 16:26:03 +01:00
Daniel Roe 385674494d
feat(nuxt): refresh override for data fetching composables (#7864) 2022-10-10 11:33:16 +01:00
Daniel Roe 829a550580
feat(pages): add `validate` hook for `definePageMeta` (#7870) 2022-10-10 11:18:20 +01:00
mmis1000 c404cb1be4
fix(nuxt): page hydration and double load (#7940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00
Julien Huang e6ca07bdc0
fix(nuxt): remove fragment from `createClientOnly` (#7774)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-03 16:14:55 +02:00
Daniel Roe a3fd4193ce
fix(nuxt): allow auto-import component with same filename (#7713) 2022-10-03 15:38:43 +02:00
Daniel Roe 1c26e07141
feat(nuxt): support `redirect` within page metadata (#7746) 2022-09-22 15:54:34 +02:00
Daniel Roe f8a23564c3
fix(nuxt): don't treeshake client-only fallback templates (#7659) 2022-09-20 08:24:45 +02:00
Julien Huang c4fe8525ef
fix(nuxt): add missing `process.client` for early redirect in navigateTo (#7625) 2022-09-19 10:54:35 +02:00
Alex Liu addcb5cd47
feat(nuxt): support prefetching `<nuxt-link>` (#4329)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00
pooya parsa 888bd7c145
feat(nuxt): payload rendering support (#6455)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00
Daniel Roe be77d477d0
fix(webpack): don't parse styles for composable keys (#7333) 2022-09-08 10:55:30 +02:00
Vl4dimyr fc2be9ed42
feat(nuxt): add `immediate` option for `useAsyncData` and `useFetch` (#5500)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
Daniel Roe 1ca294e125
fix(nuxt): don't override payload error if it is present (#7290) 2022-09-06 18:21:53 +02:00
Daniel Roe de62520990
feat(nuxt, vite): inline global and component styles in server response (#7160)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 15:03:30 +02:00
Harlan Wilton fe3fc34b12
fix(head): case `http-equiv` correctly (#7190) 2022-09-03 14:31:09 +02:00
Daniel Roe b90d286631
feat(nuxt): add `setPageLayout` utility (#6826) (#7075)
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
pooya parsa 5a17458af5
fix(nuxt): use shared state for asyncData (#7055)
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00
Daniel Roe 0087e7bbe0
docs: add information on how to use options api asyncData (#7019) 2022-08-29 12:02:24 +02:00
Alexander Lichter a4dfe232f0
feat(nuxt): `navigateTo` supports external redirects (#5022)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-24 18:04:56 +02:00
Daniel Roe f3499d788a
feat(nuxt): allow programmatically prefetching global components (#6661)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:12:22 +02:00
Daniel Roe cfb7e59171
feat(nuxt): add warning in dev mode if layouts/pages do not have a single root node (#5469) 2022-08-23 12:25:48 +02:00
Julien Huang c688e1898c
fix(nuxt): pass params to client-only slot (#6584) 2022-08-17 17:26:51 +02:00
pooya parsa 94f76ea930
feat(nuxt): `app.config` with hmr and reactivity support (#6333)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-17 17:23:13 +02:00
Daniel Roe 405629dc35
fix(nuxt): use `vue-devtools-stub` to mock `@vue/devtools-api` for both cjs + esm (#6713) 2022-08-17 16:44:36 +02:00
Daniel Roe 408febada4
refactor(nuxt)!: remove `null` handling for `titleTemplate` (#6487) 2022-08-10 17:46:46 +02:00