Commit Graph

139 Commits

Author SHA1 Message Date
Daniel Roe 563cf7c1c9
fix(nuxt): use more specific `FetchError` for `useFetch` errors (#7435) 2022-09-12 11:23:19 +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 be77d477d0
fix(webpack): don't parse styles for composable keys (#7333) 2022-09-08 10:55:30 +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
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 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
pooya parsa 68d12b468b
feat: allow extending with `theme` config (#7131) 2022-09-01 12:05:02 +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
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 c9837dca48
test: update type assertion tests to strict equality (#6709) 2022-08-17 15:43:02 +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
Anthony Fu f350a70775
refactor(nuxt): enable strict type checking (#6368)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
Daniel Roe 408febada4
refactor(nuxt)!: remove `null` handling for `titleTemplate` (#6487) 2022-08-10 17:46:46 +02:00
Daniel Roe fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport (#6378) 2022-08-07 11:53:53 +02:00
Daniel Roe 60656dfa2c
fix(nuxt): remove side-effect imports from page metadata (#6376) 2022-08-05 18:35:38 +02:00
Daniel Roe 07fa104b46
test: add key matching test for keyed composables (#6372) 2022-08-05 13:02:20 +02:00
Daniel Roe 746d553249
fix(nuxt): resolve plugins and middleware to their full path (#6350) 2022-08-04 17:15:42 +02:00
Julien Huang 2cdaf8065c
feat(nuxt): remove wrapper from client only components (#6165)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-02 17:05:02 +02:00
Harlan Wilton 622c976cec
fix(nuxt): render head scripts that use `body: true` (#6293)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-02 13:43:25 +02:00
Harlan Wilton aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate (#6296) 2022-08-02 13:20:44 +02:00
Daniel Roe 8b5159f3c0
fix(webpack): output `.mjs` to use crossorigin preloads (#6232) 2022-07-29 14:50:02 +02:00
Daniel Roe 90d1825020
test: wrap components with `<div>` (#6192) 2022-07-29 11:41:01 +02:00
Daniel Roe 4e2667fcb7
feat(nuxt): add support for `components/global` (#6070)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
David Tai 3a822c7177
refactor(nuxt): enhance `useFetch` and `useLazyFetch` request type (#4825)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Thomas 210cf30691
fix(nuxt): normalize manifest css file entries (#6112) 2022-07-25 14:05:58 +02:00
Daniel Roe c7d072c495
fix(vite): ignore baseurl when pruning manifest (#6063) 2022-07-25 11:52:21 +02:00
Anthony Fu 1a862526fe
perf(nuxt): transform `#imports` to improve tree-shaking (#5763) 2022-07-21 16:27:23 +02:00
Daniel Roe 8f7b9f904e
fix(pages): ignore expression delimiters within quotes (#6033)
* fix(pages): ignore expression delimiters within quotes

* perf: use re

* test: add test that would have failed
2022-07-21 15:49:48 +02:00
pooya parsa 2e85cd0252
refactor(nuxt): add `treeshakeClientOnly` experimental flag (#5934)
* refactor(nuxt): add `treeshakeClientOnly` experimental flag

* test: enable flag for fixture
2022-07-17 15:13:04 +02:00
Daniel Roe df04a665ce
perf(nuxt): tree-shake client-only components from ssr bundle (#5750)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-14 19:46:12 +02:00
Daniel Roe 23546a270c
feat(nuxt): automatically generate unique keys for keyed composables (#4955)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
Daniel Roe 4d607080f5
feat(nuxt): tree-shake client and server-only composables (#5749) 2022-07-07 18:04:38 +02:00