Commit Graph

871 Commits

Author SHA1 Message Date
Julien Huang 4660cc5918
docs(api): add `nuxi prepare` command (#7349) 2022-09-08 16:16:35 +02:00
Alex Kozack 6b3a1a4256
feat(nuxt): filter support for `clearNuxtData` (#7323) 2022-09-07 15:25:37 +02:00
Adewale Abati 8a56d8137a
chore: update CodeSandbox links (#7318) 2022-09-07 13:24:37 +02:00
Alex Kozack b2f573f685
feat(nuxt): add `clearNuxtData` (#5227)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 13:20:09 +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
Vasily Stepanov 0a775e3f70
docs(api): fix typo in use-fetch (#7310) 2022-09-07 10:23:49 +02:00
Alexander Lichter 86158bb407
chore(docs): fix link to vue router api (#7289) 2022-09-06 18:20:24 +02:00
renovate[bot] 4e0c2c4485
chore(deps): update all non-major dependencies (#7276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 18:15:47 +02:00
Sébastien Chopin a631da9e56
docs: rename `AppConfig` to `AppConfigInput` (#7293) 2022-09-06 18:15:27 +02:00
Tobias SN 396d55edb8
docs: fix typo in url (#7272) 2022-09-06 11:45:29 +02:00
Daniel Roe 524ba557eb
fix(nuxi): pass value of `https` through to vite-node (#7271) 2022-09-06 11:45:14 +02:00
Leon Si 173aead937
docs: fix typo (#7262)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-09-06 09:49:01 +02:00
Sébastien Chopin 94261349dc
docs: add `app-config` example (#7247)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 15:16:30 +02:00
Alex Kozack 8a81f2ad90
docs(api): fix `useAsyncData` signature (#7242) 2022-09-05 13:43:40 +02:00
Mastercuber fb179caa38
docs(deploy): add node cluster mode (#7089)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 12:54:08 +02:00
Pooya Parsa 94a992ec94 chore: fix docs lint issue 2022-09-05 10:51:40 +02:00
Ricardo Gobbo de Souza b31405f6fd
feat(test-utils): add `mockFn` and `mockLogger` utils (#6235)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 10:51:00 +02:00
HomWang 74db9d525e
docs(api): add example for fetch interceptors (#7180)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 09:42:15 +02:00
HomWang 6ee3d2cacd
docs(api): navigate to first item in list (#7232) 2022-09-05 09:25:13 +02:00
HomWang 6792b13eb0
docs: fix markdown file name (#7231) 2022-09-05 09:22:51 +02:00
pooya parsa ac56ce7dd1
feat(nuxt): router with hash mode (#6980) 2022-09-04 10:11:28 +02:00
Daniel Roe 720506d263
feat(nuxt): custom `history` and `routes` for `app/router.options.ts` (#7129)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-04 09:42:47 +02:00
Julien Huang ee60411cb9
docs(guide): add `.client` and `.server` components (#7084) 2022-09-03 15:26:43 +02:00
Damian Głowala d31e1f03a1
docs: document `external` option of `navigateTo` (#7188) 2022-09-03 14:30:41 +02:00
Daniel Roe 0f1a746825
docs: add note about fetching data on initial load (#7120) 2022-09-03 13:02:21 +02:00
Krutie Patel 664e5702af
docs(api): enhance `useHead` composable (#7072)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-09-03 12:57:21 +02:00
victorkwok97 5650927c34
docs: add note about `useFetch` auto generated key (#7044) 2022-09-03 12:56:12 +02:00
pooya parsa 9caa9ca31f
v3.0.0-rc.9 (#6970) 2022-09-03 12:36:47 +02:00
Daniel Roe 6fbbf8c5bc
refactor(nuxt): remove unused `meta:register` hook (#7130) 2022-09-01 11:08:56 +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
renovate[bot] a9df4b75d6
chore(deps): update dependency three to ^0.144.0 (#7115)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 20:22:11 +02:00
HomWang ba1c87953a
docs: increment directory structure numbers (#7102)
Co-authored-by: HomWang <ajake123123@gmail.com>
2022-08-31 14:41:01 +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 0087e7bbe0
docs: add information on how to use options api asyncData (#7019) 2022-08-29 12:02:24 +02:00
4Kazelot b386d4618c
docs(api): fix the layout file extension in cli example (#7024) 2022-08-29 11:35:55 +02:00
HomWang 5a8c60b9f0
docs: replace backtick with apostrophe (#7015) 2022-08-29 10:48:22 +02:00
Anthony Fu 9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Krutie Patel c79d2bc43d
docs(api): add `definePageMeta` util (#6931)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-26 12:57:33 +02:00
Krutie Patel 0c49e8cfb7
docs(api): add `defineNuxtRouteMiddleware` util (#6933) 2022-08-26 12:56:22 +02:00
Krutie Patel 4306bd7995
docs(api): enhance `abortNavigation` util (#6936)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-26 12:54:52 +02:00
Oumar Barry e098cf03f1
docs(deploy): update command for csr prerendering (#6966) 2022-08-26 12:11:57 +02:00
Richard Schloss b87c365891
docs: update link to pinia nuxt module (#6952) 2022-08-25 19:12:10 +02:00
Sébastien Chopin 3ee8129399
docs: update stormkit link 2022-08-25 16:07:46 +02:00
Krutie Patel 6ba770c6f8
docs(api): add `addRouteMiddleware` util (#6894)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-24 22:20:22 +02:00
Yaël Guilloux 1700bf822e
feat(nuxt): `app.config` improvements (#6905) 2022-08-24 18:35:02 +02:00
Anthony Fu 856c2a6fbd
feat(nuxt): `imports.autoImport` option to disable auto-imports (#6768) 2022-08-24 10:44:38 +02:00
Conrawl Rogers 5ef135650f
feat(nuxi): support mode flags for `add` command (#3921)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 22:44:25 +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
HomWang 1bce4df00a
docs(examples): add jsx example (#6870)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:08:35 +02:00
Daniel Roe fc82b3b340
feat(nuxt): config options for default keepalive, page & layout transitions (#5859) 2022-08-23 16:24:20 +02:00
Anthony Fu fd94351ee9
refactor(nuxt)!: rename `autoImports` to `imports` (#6864)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 16:22:11 +02:00
HomWang 39a6054a44
docs(composables): add nested and plugin injection examples (#6743)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-22 17:33:28 +02:00
Krutie Patel dc6b6ce621
docs(api): add `useNuxtApp` composable (#6786)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-22 17:25:54 +02:00
HomWang 746196f1b0
docs(plugins): add note about composable usage (#6744)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-22 16:09:12 +02:00
Lexpeartha cf5ba86747
docs(api): add missing kit utilities (#6841) 2022-08-22 15:32:34 +02:00
Qin Guan ae39a821b5
docs: use updated h3 utils (#6818) 2022-08-22 10:49:27 +02:00
Umut Aktaş ee25a15db3
docs(api): add `<NuxtWelcome />` component docs (#6745) 2022-08-19 01:17:51 +02:00
renovate[bot] aeeeef5b95
chore(deps): update all non-major dependencies (#6746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 14:12:07 +02:00
__Catalina 40f0c82324
docs: fix typo in `defineEventHandler` example (#6741) 2022-08-18 13:38:01 +02:00
Daniel Roe 9ef2709159
docs: make wording slightly clearer (#6740) 2022-08-18 10:40:24 +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
Ilya Artamonov 657719f689
docs: update links to nitro.unjs.io (#6684)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-16 19:29:46 +02:00
Damian Głowala 3730ba88f5
docs: tweaks for data fetching, server routes and composables (#6653) 2022-08-16 10:14:03 +02:00
Mourad EL CADI e2745f6d75
docs(data-fetching): fix and simplify cookie proxy example (#5770) 2022-08-15 16:54:09 +02:00
HomWang 3920065bff
docs(server): add nitro config and storage examples (#6507)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-15 16:29:41 +02:00
HomWang 676514d38b
docs(composables): add more examples for `autoImports` (#6615) 2022-08-15 16:14:00 +02:00
Angelo Schuler Piletti ff924468ea
docs: global style imports example (#6490) 2022-08-14 14:49:01 +02:00
HomWang 74320200e7
docs(components): use `fallbackTag` in `ClientOnly` examples (#6587) 2022-08-13 09:32:42 +02:00
Damian Głowala 92a04cc036
docs: ensure consistent casing of section headers (#6578) 2022-08-13 09:27:04 +02:00
Jiang Menghao fb46c83d73
docs(quick-start): add the file path for disable generating shim (#6519) 2022-08-11 23:21:51 +02:00
Eugen Istoc 1072140b05
docs: change `info` to `danger` for pages root element (#6528) 2022-08-11 23:20:09 +02:00
pooya parsa 5ea0474225
v3.0.0-rc.7 (#6375) 2022-08-11 12:40:11 +02:00
renovate[bot] 5db559be13
chore(deps): update all non-major dependencies (#6492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 10:03:34 +02:00
Sébastien Chopin 1f01fdfa32
docs: update full static status (#6460) 2022-08-09 15:36:27 +02:00
Nathan Chase 70aec38428
docs: update vue-router links (#6421) 2022-08-08 10:27:19 +02:00
Timur Bolotov 34056d7176
docs(useFetch): minor punctuation fixes (#6409) 2022-08-07 11:57:10 +02:00
Timur Bolotov 2cbdc5c07f docs: add missing periods 2022-08-07 11:02:31 +02:00
renovate[bot] bc26cc6467
chore(deps): update all non-major dependencies (#6362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 17:15:24 +02:00
Sébastien Chopin 2abf4a5bc1
docs(api): add missing hooks and environment column (#6329)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-04 13:12:14 +02:00
CSY54 d1cc5cca69
docs: fix external link display text (#6323) 2022-08-03 11:54:58 +02:00
Daniel Roe 4379e9d922
feat(nuxt): add `setResponseStatus` utility (#6306) 2022-08-02 18:01:59 +02:00
Pooya Parsa e61f58b0f5 chore: fix docs lint issue 2022-08-02 16:07:17 +02:00
Daniel Roe 119e115070
chore: add feature request template (#6242) 2022-08-02 16:01:41 +02:00
Sanjaiyan Parthipan 7209a492ce
docs: add `theme-color` meta (#6250) 2022-08-02 15:45:14 +02:00
Krutie Patel 040b36a491
docs(api): add `<NuxtLayout>` component docs (#6264)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-02 15:43:40 +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
renovate[bot] 7cc636ad93
chore(deps): update all non-major dependencies (#6241) 2022-08-02 13:42:26 +02:00
Harlan Wilton aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate (#6296) 2022-08-02 13:20:44 +02:00
renovate[bot] 3fa32b9c22
chore(deps): update all non-major dependencies (#6173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:40:44 +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
Pooya Parsa 2c6e50124b chore(docs): format component 2022-07-27 11:07:00 +02:00
Rio Weber fe0b469ca9
docs: grammar fix (#6166) 2022-07-27 10:59:24 +02:00
Nur Muhammad b751248627
docs: update link to the configuration (#6137) 2022-07-26 15:42:43 +02:00
Victor Saa 5d023a80df
feat(nuxt, schema): add `<NoScript>` component and `noscript` typings (#6139) 2022-07-26 15:41:01 +02:00
pooya parsa 25ac652652
feat(nuxi): `nuxi cleanup` command (#6125) 2022-07-25 17:19:17 +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
Lakshya Singh 8fe2d7d31a
docs: grammar fix (#6106) 2022-07-25 11:34:35 +02:00
Robbx042 873b0f0d04
fix typo in loading indicator example (#6089) 2022-07-23 18:27:31 +02:00
Daniel Roe 82dab419a4
docs: expand contribution guide for ecosystem (#5922)
Co-authored-by: Anthony Fu <hi@antfu.me>
2022-07-22 10:25:57 +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
Anthony Fu 45c2a6118f
feat(nuxt)!: only scan top level `composables/` and support glob (#6025)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 16:04:50 +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
Daniel Roe edbe4fe799
feat(vite): check types with `vue-tsc` (#6012) 2022-07-20 17:15:27 +02:00
Brendan Mulholland eff6b0c4ca
docs: update bridge migration with info about generating `.nuxt/tsconfig.json` for tests (#5967) 2022-07-19 12:35:27 +01:00
OptimusePrime d6e75bbd09
docs: fix typo in roadmap (#5979) 2022-07-19 10:51:21 +01:00
码农小余 8b6bb92d9f
docs(testing): add missing import (#5956) 2022-07-17 16:17:52 +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
pooya parsa f89955717c
docs: update roadmap (#5935) 2022-07-16 00:59:24 +02:00
Damian be8b6b6d48
docs: add missing `initialCache` to `UseFetchOptions` (#5908) 2022-07-14 23:30:05 +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
Benicio Cardozo 433298f1e5
docs: add way to pass `.env` variables to nuxt app in production (#5879) 2022-07-14 16:03:58 +02:00
renovate[bot] 009d6762c5
chore(deps): update all non-major dependencies (#5891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 15:59:43 +02:00
bot08 7725dece1b
docs: add read more link (#5893) 2022-07-14 15:59:29 +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
OptimusePrime 9f40d5c7d0
docs: fix typo (#5881) 2022-07-13 19:02:33 +02:00
AnPineau 18d2dd19d2
docs: fix typo (#5863) 2022-07-13 12:22:07 +02:00
bot08 dc0dd569fd
docs: fix typo (#5865) 2022-07-13 12:21:48 +02:00
Cupid Valentine 2f0bd1b762
docs: update `nuxt-link.md` (#5819) 2022-07-11 12:35:30 +01:00
Cupid Valentine 6322d35b3f
docs: add missing dot (#5815) 2022-07-11 10:46:20 +02:00
Cupid Valentine 57130b4fbc
docs: use `toUTCString` in `useAsyncData` example (#5798) 2022-07-11 10:45:01 +02:00
Thibault Vlacich 728a0a5ef4
docs: fix link to `NuxtLoadingIndicator` component src (#5776) 2022-07-07 21:35:47 +02:00
Krutie Patel 3d3445377d
docs(api): add `anavigateTo` docs (#5701)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-07 20:48:10 +02:00
Clément Ollivier 58ca6c17f2
docs: add content directory to directory-structure (#5755)
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-07 20:27:34 +02:00
Anthony Fu c95a48c632
feat(nuxt): add `<NuxtLoadingIndicator>` component (#5121)
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-07 19:59:55 +02:00
Francisco Buceta 38e0fa6e1e
feat(nuxt3): support `custom` prop for `<nuxt-link>` (#4249)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-07-07 19:28:23 +02:00
Mourad EL CADI c88e1716ab
docs: `useFetch` uses isomorphic `$fetch` (#5769) 2022-07-07 19:03:46 +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
Sébastien Chopin b00ef356f5
docs: fix Vite check for Nuxt 3 (#5768) 2022-07-07 16:53:08 +02:00
Paranoid dd436eabae
docs(plugins): add directive example (#5667)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-06 21:10:29 +02:00
Daniel Roe aa9950cfb3
docs(api): update commands with new `NODE_ENV` behavior (#5739) 2022-07-06 20:39:02 +02:00
renovate[bot] b1470c0819
chore(deps): update all non-major dependencies (#5687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 12:37:12 +02:00
renovate[bot] 9df6d2f1d2
chore(deps): update all non-major dependencies (#5588)
* chore(deps): update all non-major dependencies

* update lockfile

* update unimport

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-01 12:02:57 +02:00
Cupid Valentine ff2b4d9fa4
docs: add full stop (#5680) 2022-07-01 11:01:14 +01:00
Cupid Valentine 0e3df24c8c
docs: update vuejs-development (#5679) 2022-07-01 11:19:45 +02: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
Daniel Roe d4b5ff2d9d
style(docs): lint whitespaces (#5633) 2022-06-27 14:30:13 +01:00
Krutie Patel 66279aab8b
docs(api): add docs for `<NuxtPage>` component (#5591) 2022-06-27 14:14:52 +02:00
Xanlantos 026903c5e7
docs: rework the layout section (#5118) 2022-06-27 14:08:19 +02:00
vasiliy d2c3727c5f
docs: replace invalid link to composables (#5611) 2022-06-27 13:45:42 +02:00
Nestor Vera c4f64faaf7
docs: minor wording improvements (#5622) 2022-06-27 13:44:27 +02:00
Ibrahim Abdullahi Aliyu 3b15cc4352
docs: update `pnpm` usage (#5597) 2022-06-27 12:39:44 +02:00
sumiren 697f547b2c
docs: update usage about runtime config and environment variables (#5569) 2022-06-22 20:07:23 +02:00
Yuki Inoue 1b6289f60f
docs(api): add watch parameter in `useFetch` options (#5562)
Co-authored-by: 井上裕貴 <inoueyuki@inoueyukinoMacBook-Pro.local>
2022-06-22 12:41:34 +02:00
Alexander Lichter de3b4084a5
docs(testing): fix async/await (#5539) 2022-06-20 18:53:45 +02:00
renovate[bot] 42c5428ee9
chore(deps): update all non-major dependencies (#5536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 17:40:20 +02:00
Anders Søgaard d7e5777460
docs: fix link to `nuxt/image` issue (#5490) 2022-06-16 11:19:50 +01:00
Damian 11aa8bf739
docs: align value for defaulting the page's title with type declaration (#5447) 2022-06-15 14:03:58 +02:00
Thomas Jowsey cd338f4537
docs: rewrite note wording (#5462)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-15 10:54:12 +01:00
pooya parsa 92c5a94d03
docs: update roadmap (#5443)
* docs: update roadmap

* docs: small language tweaks

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-13 17:03:15 +02:00
Daniel Roe 0f4fa5643f
fix(nuxt): ignore whitespace and commas within `resolveComponent` (#5428) 2022-06-12 23:22:15 +02:00
Maxim 75db90487f
docs: fix mdn links for 301 and 302 http status (#5416) 2022-06-11 14:09:48 +01:00
Zalexios ba4f2f0d4f
docs: update plugin provide example (#5386) 2022-06-10 16:28:17 +02:00
Ash Go 1449e70541
docs: update cookie example with `defineEventHandler` (#5405) 2022-06-10 15:58:10 +02:00
Daniel Roe f6bf4f7559
fix(nuxt): throw an error when using unknown route middleware (#5323) 2022-06-10 15:35:58 +02:00
Krutie Patel eedd30ed84
docs(api): add docs for `useRouter` composable (#4949)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-09 16:10:17 +02:00
Daniel Roe 775a904c77
docs(api): add `useRequestEvent` (#5326) 2022-06-09 13:07:28 +02:00
Daniel Roe 00844405ab
docs: update keepalive key name (#5366) 2022-06-09 12:56:01 +02:00
Daniel Roe 4e2dc037aa
docs: add warning against layout as root element (#5345) 2022-06-08 21:53:39 +02:00
Xin Du (Clark) 139fc11c5a
refactor: fix typo and code improvements (#5344) 2022-06-08 21:49:11 +02:00
Nathan Chase 7c2f96e5c0
docs: fix typo in programmatic navigation (#5298)
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
2022-06-08 21:21:52 +02:00
Jeremy Graziani 59e54ee7a9
docs: fix typo in component migration guide (#5284) 2022-06-03 17:47:09 +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
Robbert van Mourik d61864b1a9
docs(pages): add information for typing page metadata (#5270)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-03 17:35:48 +02:00
renovate[bot] c071b1eb90
chore(deps): update all non-major dependencies (#5085) 2022-06-03 16:26:29 +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
Josee 223adc9bc2
docs(guide): add use of `NuxtLayout` in `app.vue` with pages (#5225) 2022-06-01 00:34:41 +02:00
Anthony Fu fca2ed7cc5
fix(nuxt): default statusCode of `navigateTo` from `301` to `302` (#5173)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-31 23:28:52 +02:00
webfansplz 2114a02293
docs(deploy): update default host for node preset (#5228) 2022-05-31 23:20:07 +02:00
Mishaa a3332d9b19
docs: add --no-clear flag in the documentation of development server (#5197) 2022-05-30 14:37:41 +02:00
Ash Go a0b89d5dfe
docs: typo (#5187) 2022-05-30 14:37:22 +02:00
Harlan Wilton a2dd0f0147
docs(roadmap): nuxt content v2 release (#5129)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-05-25 08:32:44 +02:00
L.Rain 7b3dc6ec5d
docs(api): add `key` option for `useFetch` (#5089)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-05-24 16:20:52 +02:00
Mish Ushakov aace553f1a
docs(api): add experimental `--prerender` flag to `nuxi build` command (#5112)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-24 16:15:50 +02:00
Charlie Joseph 32cb06b629
docs: fix nuxt app guide linking to a 404 page (#5122) 2022-05-24 16:09:48 +02:00
Udofia, Godwin cad9ce4a6a
docs: update wording of client-side rendering explanation (#5049) 2022-05-20 11:10:28 +02:00
Alexander Lichter 557c40c97f
docs(middleware): add `navigateTo` options (#5044)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-20 11:09:41 +02:00
Damian 53ea540ac0
docs: minor improvements for the quick start section (#5036)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-20 11:07:17 +02:00
Arthur 2a43cb4130
docs(api): improve `useFetch` docs for body type and additional ohmyfetch options (#4985)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-20 11:04:37 +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
renovate[bot] 5c8c0451a6
chore(deps): update all non-major dependencies (#4899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-10 11:10:09 +02:00
Salim Absi c0f0670ad7
docs: fix api examples (#4870) 2022-05-09 16:12:41 +02:00
renovate[bot] b633a9c106
chore(deps): update all non-major dependencies (#4867)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 16:11:59 +02:00
pooya parsa 92847ed924
feat(nuxt, kit): add shortcuts to register custom server handlers (#4850) 2022-05-06 15:31:52 +02:00
Salim Absi ecc8c0adb9
docs(data-fetching): fix and improve example (#4824) 2022-05-06 13:12:59 +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
Jonty Brook 342ecb9737
docs: fix example runtime hook plugin syntax (#4831) 2022-05-06 10:48:10 +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 a8d42d586f
v3.0.0-rc.2 (#4763) 2022-05-02 22:47:05 +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
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 ff60e9f97c
docs: add note that `.env` is not read in production (#4714) 2022-04-29 20:09:12 +02:00
Maksim Nedoshev d568081ca5
docs: fix incorrect function declaration in composables (#4715) 2022-04-29 20:07:43 +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
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
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
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
Natchapon Saejueng cc37547993
docs: fix edge alert syntax (#4653) 2022-04-27 11:03:22 +02:00
pooya parsa e789a5727b
docs: add note and banner about edge channel (#4640) 2022-04-26 20:15:41 +02:00
Daniel Roe 2bfd749c24
feat(pages)!: explicitly allow optional params with `[[` (#4537) 2022-04-26 18:10:05 +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
Damian f0594d9037
docs: fix typo (#4617) 2022-04-26 15:15:15 +02:00
UzzolX 470b273bcf
docs: fix typo (#4608) 2022-04-26 12:17:03 +02:00
Daniel Townsend e378985c29
docs: fix some minor typos (#4603)
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-26 12:15:53 +02:00
sammce 45935e0791
docs(concepts): change phrasing (#4601) 2022-04-26 12:13:49 +02:00
Daniel Roe 8fae863997
docs: add layout to match custom header example (#4593) 2022-04-25 18:54:20 +02:00
Kevin LEVRON e7bbf1693e
docs(api): fix `useAsyncData` example (#4549) 2022-04-25 11:31:25 +02:00
L.Rain 41d5cbbf3a
docs: update environment variable in example (#4573) 2022-04-25 11:29:26 +02:00
Clément Ollivier a4526cffe2
chore(docs): update social card (#4577) 2022-04-25 10:57:22 +02:00
Maciej Jezierski 0eebb0a390 docs: improve server routes guide (#4401) 2022-04-22 18:32:37 +02:00
Sébastien Chopin 4fe97389b6
docs: improve netlify deployment (#4499)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-22 17:22:05 +02:00
Cinob 4c5c47447f
docs: fix 'alias' usage (#4485) 2022-04-22 13:43:37 +02:00
Conrawl Rogers 0c165bb03f
docs: update stackblitz links (#4510) 2022-04-22 10:35:49 +02:00
Ben 28cf9fed28
docs: remove duplicate entry for `default` option (#4519)
delete the duplicated `default` parameter description.
2022-04-22 10:34:53 +02:00
Sébastien Chopin 664aa970d0
docs: simplify example of Head components (#4506) 2022-04-21 16:58:43 +02:00
Vincent-Risk0 6905326596
docs: Update 2.migration.md (#4502)
The last icon from "Static sites" and "Nuxt 3" the "Experimental" text was missing
2022-04-21 15:46:27 +02:00
Pooya Parsa 705e2e871a docs: keep directory-structure open 2022-04-20 23:03:34 +02:00
Sébastien Chopin 97978a5585
docs: update roadmap (#4478)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-20 22:57:13 +02:00
Sébastien Chopin d567a91d7d
docs: add link to hybrid rendering RFC (#4473)
* docs: add link to hybrid rendering RFC

* chore: update
2022-04-20 22:16:40 +02:00
Sébastien Chopin be804742f5 docs: fix localhost link 2022-04-20 21:11:51 +02:00
Clément Ollivier ae27e46a89
chore(docs): replace beta with rc in docs header (#4466)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-20 20:43:53 +02:00
pooya parsa 13a386da90
feat(nuxt): enable nuxt telemetry (#4467) 2022-04-20 20:25:09 +02:00
Clément Ollivier a3b523bca3
docs: update deployment section (#4452)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-20 19:54:40 +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
Daniel Roe d0ae5851e4
fix(nuxt): return 404 if hitting `404.vue` (#4460)
* fix(nuxt): return 404 if hitting `404.vue`

* docs: add info about `pages/404.vue`
2022-04-20 16:24:08 +02:00
pooya parsa 4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00
pooya parsa 756693ce7f
feat!: migrate to nitro 0.3x (#4438) 2022-04-19 21:10:32 +02:00
Chris Lloyd 643641d489
docs: fix nitro preset names in examples (#4432) (#4433)
Co-authored-by: Chris Lloyd <chris.yagro.com>
2022-04-19 18:50:04 +02:00
Daniel Roe 74ce29b329
docs: remove `__dirname` and `__filename` from example code (#4381)
* docs: remove `__dirname` and `__filename` from example code

* fix: add `fileURLToPath`

* Update packages/schema/src/config/server.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* Update docs/content/2.guide/6.going-further/7.testing.md

Co-authored-by: pooya parsa <pyapar@gmail.com>

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-19 16:46:14 +02:00
Lo 7557e55002
docs: fix defineNuxtLink property name (#4408) 2022-04-19 09:29:53 +02:00
renovate[bot] 59ba87ee83
chore(deps): update all non-major dependencies (#4395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-17 11:58:21 +02:00
Damian 513978e15b
docs: fix and improve multiple sections (#4396) 2022-04-16 15:53:36 +02:00
Daniel Roe ea14a5c1c1
feat(vite,webpack): build/dev typechecking (#4379) 2022-04-15 17:28:42 +02:00
Daniel Roe e0b2a3bfe4
chore: use `node:` prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
Adarsh Madrecha 4e1d38e5fe
docs: include pnpm package manager (#4385) 2022-04-15 17:07:16 +02:00
Sacha STAFYNIAK 54827eea2e
docs: add note about nuxt full restart feature (#4168)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-15 10:10:05 +02:00
Damian 20e09d6203
docs: fix typo and `unjs/nitro` link (#4368) 2022-04-14 23:56:16 +02:00
Oğuzhan 23a7db2a59
docs: broken @nuxt/bridge link fix (#4357) 2022-04-14 15:40:18 +02:00
webfansplz 54df62394b
docs: fix broken link (#4359) 2022-04-14 15:39:51 +02:00
webfansplz 497405fb5b
docs: fix broken link (#4356) 2022-04-14 15:38:47 +02:00
Clément Ollivier f04704890d
docs(api): document lazy wrappers for data fetching (#4333) 2022-04-14 12:45:53 +02:00
Ada J 48d886c860
docs(api): document `useError` , `useLazyAsyncData` and `useLazyFetch` (#4341)
* docs: add documents for use-error,use-lazy-async-data and use-lazy-fetch

* docs(API): document useError,useLazyAsyncData and useLazyFetch

Co-authored-by: xiaojie.jiang <xiaojie.jiang@dhc.com.cn>
2022-04-14 10:53:58 +02:00
Lo d5e624ffc1
docs: fix clearError type and server route prefix (#4342) 2022-04-14 10:51:39 +02:00
pooya parsa c36c4b0e2f
docs: update release schedule (#4337) 2022-04-13 20:52:41 +02:00
Daniel Roe ee93659147
feat(nuxt3): allow providing a ref as default value (#4326) 2022-04-13 19:41:41 +02:00
Clément Ollivier 25ced97f16
docs: add server-routes example (#4301) 2022-04-13 19:25:45 +02:00