Commit Graph

3078 Commits

Author SHA1 Message Date
Salim Absi
ecc8c0adb9
docs(data-fetching): fix and improve example (#4824) 2022-05-06 13:12:59 +02:00
Anthony Fu
a862a67c80
feat(auto-import): custom include option (#4834) 2022-05-06 13:11:34 +02:00
Krutie Patel
2852ec4a2f
docs(api): composable use route (#4776)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-06 13:06:33 +02:00
Daniel Roe
87c62513fa
fix(nuxt): await asyncData if ssr: false (#4791) 2022-05-06 13:04:01 +02:00
Daniel Roe
b29f635646
fix(nuxt): normalise window location for universal router (#4841) 2022-05-06 13:02:35 +02:00
Daniel Roe
750460693e
fix(nuxt): check if default slot is provided before calling it (#4842) 2022-05-06 12:52:08 +02:00
Daniel Roe
4079882bd4
fix(vite): use buildAssetsURL for dynamic imports (#4844) 2022-05-06 12:51:31 +02:00
Daniel Roe
27d67360e4
fix(nuxt): clear errors after navigation (#4839) 2022-05-06 12:50:54 +02:00
Pooya Parsa
3e579825c5 build(nuxt): revert nitropack to ^0.3.x
needs manual upgrade
2022-05-06 10:50:28 +02:00
Jonty Brook
342ecb9737
docs: fix example runtime hook plugin syntax (#4831) 2022-05-06 10:48:10 +02:00
Julien Huang
6b1671181e
fix(nuxt) : add default value for nitro.rollupConfig.plugins (#4830) 2022-05-06 10:33:56 +02:00
renovate[bot]
2cc336d3a3
chore(deps): update all non-major dependencies (#4828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 23:45:37 +02:00
renovate[bot]
69b09f3af9
chore(deps): update all non-major dependencies (#4800)
* chore(deps): update all non-major dependencies

* update lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-05 23:43:26 +02:00
pooya parsa
ebc27ce997
fix(nuxt): ensure url is not empty string (#4781) 2022-05-05 22:46:54 +02:00
renovate[bot]
5b63ae8ad5
chore(deps): update dependency vue-router to ^4.0.15 (#4792)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 11:23:37 +02:00
renovate[bot]
45cad3d50e
chore(deps): update devdependency @unocss/reset to ^0.32.12 (#4786)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 11:19:43 +02:00
renovate[bot]
2c5c7d2bf1
chore(deps): update all non-major dependencies to ^0.10.2 (#4774)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-03 21:31:11 +02:00
Daniel Roe
8962cb7ef4
fix(schema): exclude vite from DeepPartial (#4772) 2022-05-03 11:56:59 +02:00
Daniel Roe
f74a523f13
fix(nuxt): use router.resolve to resolve initial url (#4770) 2022-05-03 11:31:58 +02:00
renovate[bot]
686bd84d58
chore(deps): update all non-major dependencies to ^0.10.1 (#4764)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 23:02:51 +02:00
pooya parsa
a8d42d586f
v3.0.0-rc.2 (#4763) 2022-05-02 22:47:05 +02:00
Daniel Roe
1f8e3e2f33
feat(nitro): add nitro:build:before hook (#4304)
* fix(nitro): add back `nitro:generate` hook

* fix: use `nitro:generate` hook for vite workarounds

* fix: remove comment

* fix: only call `nitro:generate` in build mode

* rename hook to `nitro:_build`

* fix: use `nitro:build:before`

* move dev guard

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-02 22:15:47 +02:00
Pooya Parsa
0a5da2bd5d chore: update lockfile 2022-05-02 21:43:30 +02:00
renovate[bot]
764b7860c5
chore(deps): update all non-major dependencies (#4756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 18:35:53 +02:00
Max Heilmann
ffb9f71312
fix(nuxt): preserve error.data in response (#4755) 2022-05-02 18:34:16 +02:00
renovate[bot]
b2d2388574
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v10 (#4757)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 15:19:14 +02:00
Daniel Roe
4826918ed0
fix(nuxt): process middleware after plugins (#4645) 2022-05-02 12:00:08 +02:00
zzxswl
82f959d91f
docs: make useFetch example consistent with others (#4742) 2022-05-02 10:47:48 +02:00
renovate[bot]
51ebfd3521
chore(deps): update all non-major dependencies (#4721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 10:47:20 +02:00
Max Programming
22954d08ca
fix(nuxi): improve nuxi init output (#4612)
* Prevent redundant cd statement

* some more improvements

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-29 21:03:46 +02:00
Alex Liu
eb903bd66e
fix(nuxt3): improve error types for useAsyncData and useFetch (#4210)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-29 20:42:22 +02:00
Daniel Roe
2a3fbb4c24
fix(nuxt): mark config head as non-reactive (#4666) 2022-04-29 20:12:54 +02:00
renovate[bot]
773c565fef
chore(deps): update dependency @babel/core to ^7.17.10 (#4719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 20:09:27 +02:00
Daniel Roe
ff60e9f97c
docs: add note that .env is not read in production (#4714) 2022-04-29 20:09:12 +02:00
renovate[bot]
68384b58f4
chore(deps): update dependency h3 to ^0.7.6 (#4716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 20:07:54 +02:00
Maksim Nedoshev
d568081ca5
docs: fix incorrect function declaration in composables (#4715) 2022-04-29 20:07:43 +02:00
renovate[bot]
cc4d41824d
chore(deps): update devdependency vue-tsc to ^0.34.11 (#4705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 11:55:17 +02:00
Anthony Fu
256df28124
chore: enable typecheck ci for packages (#4664) 2022-04-29 11:38:22 +02:00
Daniel Roe
ab3971d302
fix(nuxt): use suspense for child pages on client-side navigation (#4677) 2022-04-29 11:37:49 +02:00
renovate[bot]
ee64714771
chore(deps): update all non-major dependencies (#4674)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 11:37:31 +02:00
Florent Catiau-Tristant
e360e31413
docs: add notes about auto imports from composables/ directory (#4675) 2022-04-29 11:36:59 +02:00
Sreecharan
eef037d604
docs: fix typos (#4679) 2022-04-29 10:54:33 +02:00
Ben Sheedy
cb42d3e6ad
fix(nuxi): typo in init message (#4685) 2022-04-29 10:53:58 +02:00
Daniel Roe
59a8d43a8f
fix(schema): decrease recursion on DeepPartial (#4695) 2022-04-29 10:50:19 +02:00
Clément Ollivier
8424165258
docs(features): complete assets page (#4563)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-27 18:21:32 +02:00
Daniel Roe
7e912e7bf4
fix(nuxt): warn to provide a key for useFetch with transform option (#4590) 2022-04-27 18:19:10 +02:00
renovate[bot]
66de7e6c20
chore(deps): update all non-major dependencies (#4671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-27 18:17:17 +02:00
Sébastien Chopin
96b408ae58
docs(typescript): typos (#4660)
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
2022-04-27 12:36:25 +02:00
renovate[bot]
9ced8e9ac6
chore(deps): update devdependency @types/node to ^16.11.31 (#4644)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-27 11:05:32 +02:00
Tobias Diez
ee0b90bf36
docs(migration): update to use new runtimeConfig (#4642)
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
2022-04-27 11:05:08 +02:00