Commit Graph

726 Commits

Author SHA1 Message Date
Daniel Roe d862a6bfdd
fix(nuxt)!: `refresh` to override previous requests by default (#8190) 2022-10-15 13:02:23 +02:00
James Ray 329fc63a02
docs: adds missing quote in example code (#8209) 2022-10-15 12:26:10 +02:00
Randy 52a42b0ece
docs: update route middleware link (#8196) 2022-10-14 15:52:03 +01:00
Won-hyeok Jung d4eb15aa77
docs: use `RouterConfig` interface in examples (#8151) 2022-10-13 12:53:50 +02:00
Daniel Roe d9135be83e
docs: close alert (#8157) 2022-10-13 10:47:24 +02:00
Toni a67249b2f9
docs: clarify access of RuntimeConfig with Options API (#8147) 2022-10-13 08:51:04 +02:00
Harlan Wilton 9e6d292ba6
feat(nuxt): migrate to latest `@vueuse/head` (#8000) 2022-10-12 18:00:17 +01:00
Rajendra 70ad8759b8
docs: fix typo (#8129) 2022-10-12 10:42:07 +01:00
Cinob bda187c1be
docs: update line number for `NuxtHooks` source (#8128) 2022-10-12 09:30:10 +01:00
Daniel Roe c804daa061
docs: add back deleted sections in `definePageMeta` 2022-10-11 22:49:46 +01:00
Julien Huang ee41bb6d5d
feat(nuxt): wrap `#components` client exports with createClientOnly (#7412)
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-11 16:26:03 +01:00
miketromba 2aa097310c
docs: Add recommendation for controlling plugin registration order. (#8096)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-10-11 14:14:18 +02:00
Daniel Roe 385674494d
feat(nuxt): refresh override for data fetching composables (#7864) 2022-10-10 11:33:16 +01:00
Daniel Roe 829a550580
feat(pages): add `validate` hook for `definePageMeta` (#7870) 2022-10-10 11:18:20 +01:00
Daniil Chudo 75f4a54f7e
feat(nuxt): add default slot to `<NuxtLoadingIndicator>` (#7128)
Co-authored-by: Alexander Lichter <github@lichter.io>
2022-10-10 11:12:36 +01:00
Israel Ortuño edc44aa064
docs: fix code highlighting (#8057) 2022-10-09 01:07:58 +02:00
Cupid Valentine 186a626e38
docs(example): replace useQuery to getQuery (#8047) 2022-10-08 11:32:20 +02:00
Daniel Roe 45fd722dc1
docs: fix more redirect issues (#8045) 2022-10-07 22:39:38 +02:00
Tuğberk Kılıç a74c40caa6
fix(docs): link to installation section (#8040) 2022-10-07 20:57:01 +02:00
Toni e5298bfefe
docs: fix indentation in "Views" code blocks (#8039) 2022-10-07 20:00:51 +02:00
Alexander Lichter 53e8453ad8
fix(docs): link to api config reference (#8038)
* fix(docs): link to api config reference

* chore: add redirect
2022-10-07 18:45:37 +02:00
Sébastien Chopin 99907dbf4f docs(transitions): add poster for videos 2022-10-06 18:58:15 +02:00
Clément Ollivier ce456f8ed9
docs(introduction): add nuxt key features to the introduction (#8013)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-10-06 18:00:03 +02:00
Barbapapazes 9d7871f4f0
docs: fix path of nuxt config (#8021) 2022-10-06 17:59:35 +02:00
Krutie Patel 2310adbf5e
docs(getting-started): add `transitions` page (#7987)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-10-06 17:57:47 +02:00
Yaël Guilloux dc47c64f14
docs: use nuxt 3 and website theme (#5479)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-10-06 11:15:30 +02:00
Daniel Roe d045deb9fd
docs: update `definePageMeta` docs (#7888) 2022-10-03 15:41:22 +02:00
Fumihiro-Yano bea2848246
docs: add newline at end of sass import (#7810) 2022-09-30 08:14:38 +02:00
Clément Ollivier b2d1730cd1
docs: merge deployment pages in getting started (#7765) 2022-09-30 08:12:58 +02:00
Christian Preston 2e080c259f
feat(nuxi): support `--dotenv` for `dev`, `build` and `preview` commands (#7660) 2022-09-26 12:36:10 +02:00
Josh Deltener 198576a741
docs: updated nuxt bridge migration guide (#7775)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-26 11:37:31 +02:00
Niklas 9a11d24eb9
docs(roadmap): remove not working link from `nuxt/auth` (#7781) 2022-09-26 11:36:01 +02:00
Julien Huang 555b43095d
docs(guide): add nitro plugins to server directory (#7780) 2022-09-26 11:24:03 +02:00
Xezard 51ff394f23
docs(roadmap): update the release times for v2 and v3 (#7808) 2022-09-26 11:22:27 +02:00
Julien Huang 76f463298e
docs: document nitro hooks (#7782)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-09-26 11:18:50 +02:00
Clément Ollivier 71ef8bd3ff
docs(migration): restructure upgrade guide (#7730) 2022-09-22 17:24:32 +02:00
Yu Yamazaki b877b14f81
docs(error-handling): fix useError() type definition (#7749) 2022-09-22 15:23:46 +02:00
Reinier Kaper f4f6ed4304
docs(navigate-to): use await instead of return (#7734) 2022-09-22 15:23:07 +02:00
Lov`u`e dffec69cda
docs(directory-structure): fix typo in server (#7752) 2022-09-22 15:22:46 +02:00
Tobias Diez daf99c3cac
docs: recommend to not overwrite some keys in tsconfig (#7717) 2022-09-21 16:06:20 +02:00
Clément Ollivier 427b427d7e
docs(getting-started): configuration page (#7689)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-21 12:37:32 +02:00
Lov`u`e 523d61711e
docs(getting-started): fix typo in views (#7687) 2022-09-20 19:57:34 +02:00
pooya parsa 6309d223bb
v3.0.0-rc.11 (#7565) 2022-09-20 18:38:31 +02:00
Clément Ollivier d47572e55e
docs(getting-started): add views page (#7556)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-20 11:30:17 +02:00
Clément Ollivier 42c086223f
docs(testing): move modules testing section to module authors guide (#7643) 2022-09-20 11:12:08 +02:00
Krutie Patel f82a4b67a3
docs(api): add `defineNuxtComponent` utils (#7618)
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-09-20 11:09:29 +02:00
YIngChenIt 80699686b3
docs: add `addImportsSources` to list of kit utils (#7636) 2022-09-19 10:46:11 +02:00
Pooya Parsa 8621c86055 docs: fix typo in custom router example
closes #7600
2022-09-16 20:36:19 +02:00
Pooya Parsa f0a2d622b2 docs: remove edge banners for rc.10 2022-09-16 20:34:40 +02:00
Alper Doğan 43d1eac09d
docs: fix typo on directory-structure/pages (#7601) 2022-09-16 16:32:35 +02:00
pooya parsa b933015850
feat(kit): `useNitro()` utility (#7557) 2022-09-15 18:10:50 +02:00
Pooya Parsa 950cb60bd5 docs: remove misleading edge info
#7547
2022-09-15 13:36:01 +02:00
Lexpeartha 4d91ededb1
docs: add testing and `addComponent` to modules and update `addImports` (#7543) 2022-09-15 13:20:53 +02:00
pooya parsa 9426b54562
fix(vite): `nuxi dev --https` working out of the box (#7547) 2022-09-15 13:01:52 +02:00
Pooya Parsa 4775ee8e31 docs: improve NuxtLink prefetch explanation (#7540) 2022-09-15 12:17:57 +02:00
Clément Ollivier f0005e6684
docs: add note about link prefetching (#7540) 2022-09-15 10:29:30 +01:00
YIngChenIt d97d6bdbe1
docs: update auto-imports link (#7530)
Co-authored-by: chenying <1770365139@qq.com>
2022-09-15 09:47:09 +02:00
pooya parsa 5973df1e96
chore: update examples to `^3.0.0-rc.10` and use global `defineNuxtConfig` (#7515) 2022-09-14 19:26:43 +02:00
pooya parsa 94377b1901
v3.0.0-rc.10 (#7374) 2022-09-14 18:27:11 +02:00
Adewale Abati efc6c83cc0
docs: update codesandbox link (#7499) 2022-09-14 15:13:17 +02:00
Clément Ollivier a6232667c2
docs(getting-started): add routing page (#7495)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-09-14 15:12:47 +02:00
Alex Liu addcb5cd47
feat(nuxt): support prefetching `<nuxt-link>` (#4329)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00
Daniel Roe 4e604f664d
docs: update name of the generated `imports.d.ts` file (#7474) 2022-09-13 17:35:38 +02:00
Clément Ollivier 944bba97ca
docs: update structure (#7047)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 14:54:31 +02:00
Daniel Roe 8bccdf44e8
docs: fix typo (#7437) 2022-09-12 12:42:42 +02:00
Krutie Patel 9f1ac4f201
docs(api): add `useRuntimeConfig` page (#7406)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-12 12:29:42 +02:00
pooya parsa 270055b86d
feat(cli)!: use giget 0.1x with template registry for `nuxi init` (#7404) 2022-09-10 15:37:25 +02:00
Corey Richardson b68bfb0a24
docs: remove duplicate word (#7387) 2022-09-09 20:09:03 +01:00
Julien Huang 6c462b3315
docs(head): enhance usehead and fix broken links (#7364) 2022-09-08 20:54:02 +02:00
pooya parsa e0c5907f0a
feat(nuxi): switch to `unjs/giget` for `nuxi init` (#7361) 2022-09-08 17:43:04 +02:00
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
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
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
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
__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
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
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
Daniel Roe 4379e9d922
feat(nuxt): add `setResponseStatus` utility (#6306) 2022-08-02 18:01:59 +02:00
Daniel Roe 119e115070
chore: add feature request template (#6242) 2022-08-02 16:01:41 +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
Harlan Wilton aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate (#6296) 2022-08-02 13:20: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
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