Commit Graph

184 Commits

Author SHA1 Message Date
Daniel Roe e674d0f60d
feat(nuxt3, bridge): add `vue:setup` hook (#2408) 2021-12-21 15:44:35 +01:00
Alexander Seidmann 6e32bde7ae
add overwriting disclaimer to tsconfig section (#2483) 2021-12-21 14:02:07 +01:00
Alexander Seidmann 1104d42346
docs(bridge): add overwriting disclaimer to tsconfig section (#2482) 2021-12-21 14:01:31 +01:00
Daniel Roe b5618e976b
feat(nuxi): add `nuxi preview` command for local testing (#2162)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-21 12:46:42 +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
Daniel Roe 639e49be27
refactor(nuxt3): rename `<NuxtChild>` to `<NuxtNestedPage>` (#2432) 2021-12-20 11:37:58 +01:00
Raku Zeta d98fe1207e
docs: fix example consistency (#2451) 2021-12-20 11:36:25 +01:00
Daniel Roe daec4323bb
perf(bridge): allow skipping legacy composition api support (#2388) 2021-12-17 10:44:59 +01:00
kevinadhiguna 5ae1d05fd6
docs: open project in a new window of vs code (#2424) 2021-12-17 10:33:12 +01:00
Ben Hong 1b1fd203c5
docs: add composition api example for dynamic routes (#2365) 2021-12-17 10:31:28 +01:00
Victor 617a65a691
docs: fix typo (#2323) 2021-12-09 15:54:37 +01:00
Calum Knott 87db67181f
docs: link to documentation in `nuxt.config.js` (#2285) 2021-12-06 11:28:17 +01:00
Daniel Roe bb43d0a7a1
docs: update 3rd party bridge imports to use `#imports` (#2283) 2021-12-06 11:27:36 +01:00
webfansplz 5a9878207a
docs(useFetch): add available options (#2299) 2021-12-06 11:16:18 +01:00
Tobias Diez be1d8ff005
docs(esm): add notes about default exports (#2036)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-29 13:48:13 +01:00
Daniel Roe 730cd28d5e
docs: remove need to add `vueCompilerOptions` at top-level `tsconfig.json` (#2209) 2021-11-29 12:13:48 +01:00
Daniel Roe 2904bfaf34
docs: add note for bridge users about `defineNuxtPlugin` (#2166) 2021-11-29 11:50:49 +01:00
Daniel Roe f5307f9d13
feat(nuxi): add `typecheck` command using `vue-tsc` (#2132)
* feat(nuxi): add `typecheck` command using `vue-tsc`

* perf: use local install with execa + set rootDir as cwd
2021-11-24 17:02:57 +01:00
wiese 84b6201dea
docs: remove dangling comma from sample `tsconfig.json` (#2129) 2021-11-24 16:26:44 +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
Daniel Roe 90153a9fb8
docs: update command in bridge migration (#2038) 2021-11-21 13:32:28 +01:00
Damian 9efdf43eec
docs: improve various sections (#2040) 2021-11-21 13:31:44 +01:00
Daniel Roe c184211681
fix(bridge): add docs links and warnings for data composables (#2010) 2021-11-19 12:37:29 +01:00
Umesh Ganapathy 446cec7234
docs: use slot component in components example (#2027) 2021-11-19 12:36:25 +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
pooya parsa b16cfea689
feat: `typescript` options (#1940) 2021-11-16 13:32:21 +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
Daniel Roe 4b367a1959
fix(bridge): ensure `vue` ts alias points to original vue (#1924) 2021-11-15 16:58:43 +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
Anthony Fu 3e1239d8c7
docs: document `<ClientOnly>` and `<NuxtLink>` (#1856) 2021-11-15 13:00:14 +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
tramplay d701238d27
docs: fix typo in composables (#1836) 2021-11-10 22:25:52 +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 d9c1aa6b02
docs: add brief note about how to check types manually (#1822) 2021-11-10 21:21:34 +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
Daniel Roe 29599f06a1
feat(bridge): add `useNuxt2Meta()` composable (#1789) 2021-11-09 11:17:56 +01:00
webfansplz 34b7e7991c
docs: remove extra `composition api` entry in comparison table (#1771)
Co-authored-by: Willin <willin@willin.org>
Co-authored-by: Mario Neuhold <mario.neuhold@hey.com>
2021-11-08 11:41:30 +01:00