Commit Graph

40 Commits

Author SHA1 Message Date
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
Mitsuki Fukunaga 38158cf261
docs: add explicit `createError` import (#6050)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-22 09:55:54 +02:00
Daniel Roe 78618f1f21
feat(nuxt): improve error dx for users (#4539)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 16:29:03 +02:00
Ennio Visconti 2e794e7a19
docs(runtime-config): clarify how environment variables are loaded (#5916)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-21 11:08:37 +02:00
Daniel Roe d77b62d63e
docs: warn that `useState` should only contain JSON-serializable content (#5994)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Alwin Lohrie <46248939+niwla23@users.noreply.github.com>
2022-07-21 10:56:01 +02:00
Benicio Cardozo 433298f1e5
docs: add way to pass `.env` variables to nuxt app in production (#5879) 2022-07-14 16:03:58 +02:00
lm a745be363b
docs: improve runtimeConfig example (#5785)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-13 19:03:02 +02:00
AnPineau 18d2dd19d2
docs: fix typo (#5863) 2022-07-13 12:22:07 +02:00
Mourad EL CADI c88e1716ab
docs: `useFetch` uses isomorphic `$fetch` (#5769) 2022-07-07 19:03:46 +02:00
Cupid Valentine ff2b4d9fa4
docs: add full stop (#5680) 2022-07-01 11:01:14 +01:00
donatelloraphael 568fcaedfc
docs: clarify that `definePageMeta` only works in the pages directory (#5663)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-30 11:37:24 +02:00
Damian 11aa8bf739
docs: align value for defaulting the page's title with type declaration (#5447) 2022-06-15 14:03:58 +02:00
Xin Du (Clark) 139fc11c5a
refactor: fix typo and code improvements (#5344) 2022-06-08 21:49:11 +02:00
Charlie Joseph e6b48c2b20
docs: add documentation for `titleTemplate` (#5093)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-03 17:37:56 +02:00
Maël Quéau f71ef42d50
docs: small typo in the "catch-all route" description (#5273) 2022-06-03 15:53:30 +02:00
Daniel Roe 36ad29a67c
docs(data-fetching): add note about difference between `useFetch` and `useAsyncData` (#4974) 2022-05-20 10:59:45 +02:00
Salim Absi c0f0670ad7
docs: fix api examples (#4870) 2022-05-09 16:12:41 +02:00
Salim Absi ecc8c0adb9
docs(data-fetching): fix and improve example (#4824) 2022-05-06 13:12:59 +02:00
zzxswl 82f959d91f
docs: make `useFetch` example consistent with others (#4742) 2022-05-02 10:47:48 +02:00
Daniel Roe ff60e9f97c
docs: add note that `.env` is not read in production (#4714) 2022-04-29 20:09:12 +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
Volker Rose d012eff808
docs: make titleTemplate function form example clearer (#4616)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-26 16:34:20 +02:00
L.Rain 41d5cbbf3a
docs: update environment variable in example (#4573) 2022-04-25 11:29:26 +02:00
Maciej Jezierski 0eebb0a390 docs: improve server routes guide (#4401) 2022-04-22 18:32:37 +02:00
Sébastien Chopin 664aa970d0
docs: simplify example of Head components (#4506) 2022-04-21 16:58:43 +02:00
Ahad Birang 87b6ebdec7
docs: remove useless `:` (#4464) 2022-04-20 17:06:27 +02:00
Daniel Roe 8d92a9cdba
docs: document fallback for runtime config (#4461) 2022-04-20 16:24:59 +02:00
Damian 513978e15b
docs: fix and improve multiple sections (#4396) 2022-04-16 15:53:36 +02:00
Lo d5e624ffc1
docs: fix clearError type and server route prefix (#4342) 2022-04-14 10:51:39 +02:00
pooya parsa d2b4e60963
docs: update runtime-config section (#4285)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-04-12 12:04:15 +02:00
Clément Ollivier 42a0ef56dd
docs: complete features/modules section (#4284)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-12 11:09:10 +02:00
Manash Sonowal d8ee524141
docs: update runtimeConfig section (#4279) 2022-04-12 10:12:33 +02:00
Conner 9fc848567e
docs: improve documentation (#4148)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-04-11 23:00:43 +02:00
Daniel Roe 1091d456a8
feat(nuxt, bridge): support `titleTemplate`, `viewport` and `charset` for `useHead` (#4221) 2022-04-11 11:03:31 +02:00
Dizzy Rogers 529712d498
docs: add server routes documentation (#4174)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-09 13:36:51 +02:00
Clément Ollivier c98bea7d3c
docs: add links to examples (#4204) 2022-04-09 11:25:13 +02:00
Sébastien Chopin 55091b8fdf
docs: add missing config variable in example (server api) (#4184) 2022-04-07 23:16:42 +02:00
pooya parsa 11626eea4f
feat!: migrate to nitropack (#3956)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Sébastien Chopin fe8e325541
docs(guide): fix links to error utils (#4129) 2022-04-06 15:55:36 +02:00
Clément Ollivier 9a0fc57724
docs: update sitemap (#4063)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-06 07:56:08 +02:00