Commit Graph

85 Commits

Author SHA1 Message Date
Evgeny Yurkin 4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook (#9616) 2022-12-10 22:44:29 +00:00
renovate[bot] 7f5f952911
chore(deps): update all non-major dependencies (#9549)
* update tests for islands head regression

Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-12-08 16:16:22 +01: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
Harlan Wilton fddc8b2e6e
feat(nuxt, schema): official @vueuse/head v1 support (#8975) 2022-11-15 17:26:38 +01:00
Daniel Roe 2c2fbdffc9
refactor(nuxt)!: move `head` option support into `defineNuxtComponent` (#8901) 2022-11-15 15:47:17 +01:00
pooya parsa b49f2a8147
refactor: update unjs dependencies to stable v1 (#9011) 2022-11-15 15:33:43 +01:00
Daniel Roe 17099348e7
fix(nuxt)!: only add `$f` fetch prefix to auto-keys (#8852) 2022-11-10 09:39:49 +01:00
Daniel Roe cda498b070
fix(nuxt): do not inline global styles in html response (#8666) 2022-11-03 20:17:43 +01:00
Daniel Roe 491d02f6ca
fix(nuxt)!: use parser to generate page metadata (#8536) 2022-11-02 11:28:41 +01:00
Daniel Roe cfaa46201a
fix(nuxt): lazy-load entry CSS (#8278) 2022-10-18 18:13:50 +02:00
renovate[bot] c14f9f5638
chore(deps): update all non-major dependencies (#8265)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-18 12:36:48 +02:00
Julien Huang bdb6e3298f
test: correct path in test (#8221) 2022-10-16 11:03:52 +02:00
Harlan Wilton 9e6d292ba6
feat(nuxt): migrate to latest `@vueuse/head` (#8000) 2022-10-12 18:00:17 +01:00
Alex 6ef6eae2c7
fix(nuxt): don't inline styles for per-request `ssr: false` (#8106)
Co-authored-by: Alex C <alex.canals@jkweb.ch>
2022-10-12 09:50:16 +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 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
pooya parsa 1ebdef77a6
fix(nuxt): keep `state` in the initial state instead of extracting it (#7567) 2022-09-16 12:49:00 +02:00
Pooya Parsa fd982185ee test: skip useAsyncData for windows due to ci unstability 2022-09-14 17:11:00 +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 068e127551 test: disable payload tests for windows
(might be because of unstability)
2022-09-12 10:56:04 +02:00
Pooya Parsa fe5b1c21ae test: disable payload test for dev for now
only windows has been failed 4 times on windows/dev and not used.
2022-09-12 10:50:56 +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 9c3bef4a01
fix(nuxt): allow `abortMiddleware` to receive a nuxt error or error options (#7335) 2022-09-08 10:52:00 +02:00
renovate[bot] 849b8cb702
chore(deps): update all non-major dependencies (#7321)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-08 10:45:39 +02:00
Daniel Roe 1c07914608
test: fix dynamic dev paths (#7314) 2022-09-07 12:41:25 +02:00
Daniel Roe 7ef028d4f9
test: use semantic `runIf` and `skipIf` helpers (#7312) 2022-09-07 11:55:03 +02:00
Daniel Roe 577a7b681e
perf(vite): remove duplicate css links from rendered page when inlined (#7264) 2022-09-07 10:41:08 +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
renovate[bot] e38e1de740
refactor: apply lints from `@nuxtjs/eslint-config-typescript` v11 (#7114)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-31 20:34:17 +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
Daniel Roe a520185442
perf(nuxt): don't prefetch all global components (#7069) 2022-08-30 16:41:11 +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
Anthony Fu 9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +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
Anthony Fu 69c281f384
fix(nuxt): fallback to static error page on server error (#6697)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-17 11:14:00 +02:00