Commit Graph

63 Commits

Author SHA1 Message Date
pooya parsa
7c0b9140c7
feat(nuxt3): watch option for useAsyncData to auto refresh (#3722) 2022-03-16 23:49:30 +01:00
Daniel Roe
12304909bc
feat(nuxt3): add <NuxtErrorBoundary> component for fine-grained error handling (#3671)
* feat(nuxt3): add `<NuxtErrorBoundary>` component for fine-grained error handling

* feat: add `@error` event handling

* fix: don't clear error on nav

* fix: remove `clearError` wrapper

* fix: remove outdated implementation

* update clear error

* upddate example with FaultyComponent

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 16:49:53 +01:00
Clément Ollivier
831ed1c994
docs: improve sentences writing (#3702) 2022-03-16 12:16:05 +01:00
Sébastien Chopin
58a46f2270
docs(routing): improvements (#3664) 2022-03-15 10:59:27 +01:00
Nestor Vera
189c2fcf58
docs: fix missing line break (#3655) 2022-03-14 16:21:26 +01:00
Lucie
4cefce44a3
feat(nuxt3): add <NuxtLink> component (#3544)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-14 14:36:32 +01:00
Daniel Roe
5d58ef48af
feat(nitro, nuxt3): allow handling otherwise unhandled runtime errors (#3464)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-11 09:22:16 +01:00
Clément Ollivier
a59bf5233d
docs(cli): specify commands that interact with node-env (#3593) 2022-03-11 08:57:59 +01:00
Clément Ollivier
7f1a086753
docs(usage): add references of nuxi commands and options (#3577) 2022-03-09 19:57:47 +01:00
Christian Burkhart
cbb2e9ce2b
docs: example using useMeta with definePageMeta (#3552) 2022-03-08 19:02:10 +01:00
Daniel Roe
8b5e52f2a9
docs: add note about proxying cookies back to client (#3218) 2022-03-03 20:30:01 +01:00
Daniel Roe
0958a61322
docs: add examples for useLazyFetch and useLazyAsyncData (#3418) 2022-02-28 11:21:06 +01:00
Rodrigo Mesquita
070de5ba45
chore(docs): improve useAsyncData docs (#3333) 2022-02-21 12:24:57 +01:00
Clément Ollivier
22c3e33c1e
docs: document auto-imports and avoid #app and #imports in examples (#3296) 2022-02-18 19:20:55 +01:00
Daniel Roe
8fbdab8151
docs: update links to new vuejs.org site (#3091) 2022-02-07 11:16:45 +01:00
pooya parsa
9ef94d19f7
docs: add advanced section for module authors (#2950) 2022-01-27 18:02:42 +01:00
Anish George
150caefa34
docs: add example of inlined css for <Style> component (#2910) 2022-01-26 12:58:51 +01:00
Daniel Roe
2d1b772827
docs: add blank line (#2901) 2022-01-25 13:19:40 +01:00
notRyan
a569d16900
docs: add example of useRuntimeConfig() within a plugin (#2900) 2022-01-25 13:04:22 +01:00
Josh Deltener
69309c9c0f
chore: minor grammar tweak (#2640) 2022-01-11 19:01:53 +01:00
Daniel Roe
5ab18162dd
feat(nuxt3, bridge): useReqHeaders composable (#2173)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-20 17:27:36 +01:00
webfansplz
5a9878207a
docs(useFetch): add available options (#2299) 2021-12-06 11:16:18 +01:00
Damian
a892700e95
docs: fix usage/cookies url and table of contents (#2115) 2021-11-24 16:24:50 +01:00
Daniel Roe
650f14bc42
docs: update runtimeconfig augmentation (#2108) 2021-11-23 16:43:24 +01:00
Damian
5bc9012eff
docs: improve cookies section (#2092) 2021-11-23 00:24:12 +01:00
pooya parsa
9920181df3
feat(nuxt3, bridge): useCookie universal composable (#2085) 2021-11-22 21:43:00 +01:00
Damian
9efdf43eec
docs: improve various sections (#2040) 2021-11-21 13:31:44 +01:00
Daniel Roe
4e9a27257b
feat(nuxt3): automatically inject returns from plugins (#2001)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-18 14:11:34 +01:00
Sébastien Chopin
07ba36d721
docs: useState improvements (#1973) 2021-11-16 17:12:36 +01:00
pooya parsa
6d94158e95
docs: improve useState examples (#1969)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2021-11-16 16:37:36 +01:00
Sébastien Chopin
bf0933a2f0
docs: improve useState docs and add example (#1961)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-16 14:17:52 +01:00
Damian
5f5eb39ae4
docs: fix typos in useState (#1962) 2021-11-16 13:15:05 +01:00
pooya parsa
1c8b751cfa
docs: improve useState with shared composable (#1945) 2021-11-15 21:41:05 +01:00
Daniel Roe
c339966fad
docs: add documentation on data fetching return types (#1934) 2021-11-15 18:04:37 +01:00
Daniel Roe
4a3ba73f22
fix(nuxt3): enable useAsyncData and useFetch usage within plugins (#1933) 2021-11-15 17:34:39 +01:00
Dave Stewart
33107d8b98
docs: remove mention of plugins from data fetching (#1925) 2021-11-15 16:50:00 +01:00
webfansplz
b69ebbbfd7
docs: add note for usage (#1921) 2021-11-15 14:13:00 +01:00
Daniel Roe
f011a60dae
feat(nuxt3, bridge): add lazy helpers (useLazyAsyncData and useLazyFetch) (#1861) 2021-11-15 13:09:07 +01:00
webfansplz
934db6b584
docs: add note for useFetch usage (#1877) 2021-11-15 11:30:59 +01:00
webfansplz
1a8fc3dd1d
docs: add note for useState usage (#1901) 2021-11-15 11:30:38 +01:00
Anthony Fu
e609f9f542
docs: improvements (#1858)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-11 14:58:08 +01:00
Daniel Roe
abfbd2f34e
feat: add <Html> meta component (#1820)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 21:25:29 +01:00
Daniel Roe
13a8e2b163
fix(nitro, nuxi): add runtimeConfig types (for #config and useRuntimeConfig()) (#1783)
Co-authored-by: Tobias Diez <code@tobiasdiez.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 13:40:02 +01:00
Acidiney Dias
8838cc7192
docs: fix data fetching example (#1615) 2021-11-02 10:36:01 +01:00
Levi (Nguyễn Lương Huy)
4c17b92b66
chore(docs): add code format using markdownlint (#1498) (#1556) 2021-10-29 13:26:01 +02:00
Daniel Roe
357bb7f271
docs: advice on async setup() with multiple awaits (#1517) 2021-10-27 14:46:52 +02:00
René Eschke
c6acee7fd4
docs: fix typo (#1511) 2021-10-27 13:47:13 +02:00
pooya parsa
4374277bfa
docs: remove reference to non existing page 2021-10-27 13:43:05 +02:00
Marshall Thompson
815a42d6ac
docs(meta): add viewport example for useMeta (#1496) 2021-10-27 10:06:19 +02:00
Daniel Olshev
cc033a8d7c
docs: update meta-tags example (#1404) 2021-10-24 12:12:19 +02:00