Commit Graph

714 Commits

Author SHA1 Message Date
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
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
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
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
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
Salim Absi
c0f0670ad7
docs: fix api examples (#4870) 2022-05-09 16:12:41 +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
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
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
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
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
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
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
Clément Ollivier
a89d2f9c1a
docs(api): apply use-async-data page structure to use-fetch (#4332) 2022-04-13 19:14:03 +02:00
Mario Neuhold
41b5cfc0ae
docs: update url to new unjs/nitro repo (#4324) 2022-04-13 13:44:03 +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
Victor Saa
85f2f83cf2
feat: route alias support (#4273) 2022-04-12 11:09:45 +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
Ada J
2dadd4f0b3
docs: fix a typo and link (#4281) 2022-04-12 10:13:02 +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
Clément Ollivier
e6471689d6
docs(api): add ts signature and js example to use-async-data (#4171)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-11 19:24:18 +02:00
Matteo Rigoni
d6210606bf
docs: improve single root element note about comments (#4245)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-11 17:59:13 +02:00
Sébastien Chopin
9378f8ffab
docs: fix broken link (#4262)
Since Docus does not handle redirection (but will Nuxt Content v2)
2022-04-11 17:52:38 +02:00
Jie
b142666561
docs: fix link to guide/concepts/rendering (#4247) 2022-04-11 11:36:41 +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
Clément Ollivier
0bd801cfd8
docs(concepts): clarify sentences (#4201) 2022-04-08 15:09:00 +02:00
Daniel Roe
0e4def19f8
docs: update deployment urls & azure instructions (#4193)
* docs: update deployment urls & azure instructions

* style: lint
2022-04-08 14:59:35 +02:00
Sébastien Chopin
500e90d867
docs: modules section improvements (#4185)
* docs: modules section improvements

* lint fix
2022-04-08 01:11:40 +02:00
Sébastien Chopin
55091b8fdf
docs: add missing config variable in example (server api) (#4184) 2022-04-07 23:16:42 +02:00
Clément Ollivier
c7ff6d1740
chores(docs): prevent link rendering by Docus (#4166)
Use back ticks to prevent Docus from rendering a link to Github based on `@` character
2022-04-07 16:02:54 +02:00
Manash Sonowal
6f8e7a8ac7
docs: update runtime config migration (#4165) 2022-04-07 15:47:15 +02:00
Clément Ollivier
f69a67472a
docs(api): add abortNavigation docs (#4164) 2022-04-07 15:46:30 +02:00
Clément Ollivier
6205fbe316
docs(api): specify nuxt-error-boundary events and slots (#4159) 2022-04-07 15:26:36 +02:00
Dan Pastori
02f16bf23e
docs: add programmatic navigation (#4074)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-07 13:46:47 +02:00
Dan Pastori
75cbfbcb7e
docs(migration): add programmatic navigation example to pages and layouts (#4072)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-07 13:41:49 +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
Daniel Roe
368610e8a7
feat(nuxt3): allow explicitly importing components (#4150) 2022-04-07 13:03:37 +02:00
Daniel Roe
114ec8982d
docs: add note that layout root cannot be <slot /> (#4151) 2022-04-07 12:59:40 +02:00
Daniel Roe
7e0b30f66e
docs: remove yarn dlx instruction (#4153) 2022-04-07 12:59:26 +02:00
Alex Liu
b7dc0931c4
feat(nuxt3): let useAsyncData() return value that error can defined type by generics (#4109) 2022-04-06 18:02:45 +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
Moeen M
fa9dcfe64c
docs: fix spelling for steps (#4103) 2022-04-05 19:23:37 +02:00
Clément Ollivier
07b5db5fa7
docs(community): add documentation contribution guide (#3923)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-05 16:57:43 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta to useHead (#4066) 2022-04-05 16:02:29 +02:00
Conner
7054b9849f
docs: document nuxi analyze command (#4068) 2022-04-05 15:56:41 +02:00
Bill Gale
0c9d83412c
docs: update useBody comment to reflect usable methods (#4083) 2022-04-05 15:56:16 +02:00
Sébastien Chopin
be4a2dea16
docs: update Nuxt Content v2 expected date (#4093) 2022-04-05 15:40:14 +02:00
Anthony Fu
6577602894
chore(docs): setup case-police guard (#4065)
* chore: setup `case-police` guard

* chore: fix cases

* chore: upgrade deps
2022-04-04 12:56:10 +02:00
Clément Ollivier
a1cbbb71a8
docs(examples): fix url in error handling example (#4064) 2022-04-04 11:59:37 +02:00
Dan Pastori
d5b7b5882c
docs: update data fetching for $fetch and refresh (#3914) 2022-04-04 10:10:10 +02:00
Vasily Kuzin
7dfe800a52
docs: fix small typo (#4043) 2022-04-04 08:51:58 +02:00
Daniel Roe
fdd38f958c
feat(nitro): support for rendering ssr teleports to body (#3909)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-01 16:06:48 +02:00
Daniel Roe
59b319b492
docs: add router.extendRoutes example to migration docs (#4023)
* docs: add `router.extendRoutes` example to migration docs

* style: lint
2022-04-01 15:21:06 +02:00
Daniel Roe
02d2d1ae35
feat(nuxi): load .env when previewing builds (#4016) 2022-04-01 12:28:39 +02:00
tramplay
b32a2561ee
docs: fix broken link (#4002) 2022-03-31 19:03:09 +02:00
Anthony Fu
e1b6e4d6fe
docs: fix cases for terms (#3992)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-31 21:45:43 +08:00
pooya parsa
323803832a
feat(nuxt)!: use paylod cache for initial data fetching by default (#3985)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-31 12:24:28 +02:00
pooya parsa
58386198c9
docs: update roadmap (#3990) 2022-03-31 12:22:23 +02:00
Daniel Roe
cb55efcd98
docs: tiny typo (#3975) 2022-03-30 21:48:53 +02:00
Daniel Roe
df188d7734
fix(nuxi): respect NUXT_PORT and NUXT_HOST vars in dev mode (#3973) 2022-03-30 21:07:26 +02:00
Daniel Roe
1a39eff502
docs: update migration guide for nuxt 3 (#3819)
Co-authored-by: Dan Pastori <dan@521dimensions.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-30 19:32:30 +02:00
Anthony Fu
96ad9cfe97
docs: init testing section (#3930) 2022-03-30 18:00:08 +02:00
Clément Ollivier
1a7b570c82
docs(examples): add examples to docs (#3966)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-30 17:59:28 +02:00
pooya parsa
7e6c4e2d5b
fix(schema): fix RouterConfig types (#3964) 2022-03-30 10:17:46 +02:00
Sébastien Chopin
d3a1ed9839
docs(cli): fix typo (exsits -> exists) (#3954) 2022-03-29 15:14:11 +02:00
Anthony Fu
8dd77d7b6e
feat: refreshNuxtData function and app:data:refresh hook (#3929)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-28 19:12:41 +02:00
Jakub Andrzejewski
19842ce471
feat(nuxi): scaffold files with nuxi add (#3841)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-03-25 15:56:36 +01:00
Daniel Roe
773dd59a2c
fix(bridge): don't double-install plugins when using compat vueApp.use (#3898) 2022-03-25 12:53:56 +01:00
Alex Liu
993bc7c8a1
doc: fix useAsyncData documentation error (#3879) 2022-03-24 13:13:41 +01:00
L.Rain
e19c638b3f
docs: update hooks (#3875) 2022-03-24 12:03:18 +01:00
Árpád Illyés
cc543e9ac1
docs: use path in example (#3856) 2022-03-23 11:38:36 +01:00
yyyanghj
8bb02be218
docs: fix typo (#3842) 2022-03-22 19:20:22 +01:00
Daniel Roe
29078bba74
feat(nuxt3): support lazy and custom-resolved components (#3814) 2022-03-22 18:04:31 +01:00
Daniel Roe
acd22db576
docs: deprecate buildModules in schema (#3830) 2022-03-22 12:33:30 +01:00
Daniel Roe
190fc67358
docs: add links to vue api for transitions + keepalive props (#3812) 2022-03-21 12:14:12 +01:00
pooya parsa
7c0b9140c7
feat(nuxt3): watch option for useAsyncData to auto refresh (#3722) 2022-03-16 23:49:30 +01:00
pooya parsa
3f91d83a79
feat(schema): expose RouterOptions and RouterConfigOptions (#3713) 2022-03-16 19:13:05 +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
Daniel Roe
6d2625925f
docs: use partial RouterOptions interface (#3711) 2022-03-16 16:18:27 +01:00
Daniel Roe
bc3db2ccdd docs: lint vercel code block 2022-03-16 11:43:36 +00:00
Daniel Roe
4b575bb98c docs: add ending frame for bash script in vercel instructions 2022-03-16 11:27:27 +00:00
Clément Ollivier
831ed1c994
docs: improve sentences writing (#3702) 2022-03-16 12:16:05 +01:00
Raja
f38cacec0f
feat(nuxt 3): support custom router options (#3485)
Co-authored-by: Raja Munisamy <raja.munisamy@carbar.com.au>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-15 17:57:41 +01:00
Sébastien Chopin
58a46f2270
docs(routing): improvements (#3664) 2022-03-15 10:59:27 +01:00
Sébastien Chopin
3ded2e35ad
docs(concepts): small improvement regarding auto import on server (#3653)
* docs: small improvement regarding auto import on server

* Update 4.auto-imports.md
2022-03-14 17:01:20 +01:00
Nestor Vera
189c2fcf58
docs: fix missing line break (#3655) 2022-03-14 16:21:26 +01:00
Daniel Roe
2260f43aa4 style: lint docs 2022-03-14 14:00:27 +00:00
Daniel Roe
870f7c69f5
docs: add vue 3 ssr starter (#3647)
* docs: add vue 3 ssr starter

* Update docs/content/4.community/2.reporting-bugs.md

* Update 2.reporting-bugs.md

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-14 14:39:13 +01:00
Iljs Путлер Капут
98de06fe6b
docs: fix url (#3651) 2022-03-14 14:37:02 +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
7bf338da8c
feat(nuxt3)!: enable using <NuxtLayout> without pages integration (#3610) 2022-03-14 11:47:24 +01:00
Patrik
1d8e431f24
docs(cloudflare): update build command (#3604) 2022-03-11 12:53:19 +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
Alexander Lichter
a55c7874e6
docs(server): add example for early spiking middleware (#3564) 2022-03-09 14:42:42 +01:00
Percy
717c5b185a
docs(install): add 3rd tab for using pnpm (#3559) 2022-03-09 11:40:20 +01:00
Christian Burkhart
cbb2e9ce2b
docs: example using useMeta with definePageMeta (#3552) 2022-03-08 19:02:10 +01:00
Tobias Diez
0f2cba5b1d
docs: add custom redirects for netlify deployment #3553) 2022-03-08 19:01:37 +01:00
Daniel Roe
4dea1d35fe docs: add yarn stub instruction to contribution guide
resolves #3550
2022-03-08 09:30:02 +00:00
Daniel Roe
398b311ad6
fix(nitro): rename cold start -> nitro start (#3528) 2022-03-07 11:34:45 +01:00
Daniel Roe
8b5e52f2a9
docs: add note about proxying cookies back to client (#3218) 2022-03-03 20:30:01 +01:00
Clément Ollivier
b327a9c996
docs(concepts): add Vue development page (#3159)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-03-01 17:14:26 +01:00
Sébastien Chopin
98face082e
docs: add roadmap description (#3465)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-01 16:57:01 +01:00
pooya parsa
0442e297d4
docs: add project roadmap (#3448)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Alexander Lichter <manniL@gmx.net>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-03-01 16:43:06 +01:00
YannicEl
02cc2b1461
docs: fix typo (#3456) 2022-03-01 09:14:23 +00:00
Daniel Roe
ad8027340e
docs: add .nuxtignore docs (#3440)
* docs: add `.nuxtignore` docs

* docs: fix link syntax

* style: lint

* style: add lang

* Update 17.nuxtignore.md

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-28 18:36:56 +00:00
Daniel Roe
0958a61322
docs: add examples for useLazyFetch and useLazyAsyncData (#3418) 2022-02-28 11:21:06 +01:00
Plat
ccce543c17
docs: remove await in front of useQuery in example (#3407) 2022-02-27 08:53:30 +00:00
tramplay
ed411c687d
docs: auto imports don't work in server/api (#3330) 2022-02-21 13:36:16 +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
Dipanjan De
7776452061
docs: fix typo (#3205) 2022-02-11 21:04:34 +00:00
Robbert van Mourik
6d4eb3da26
docs: fix typo in prepare command (#3177) 2022-02-10 22:58:36 +00:00
pooya parsa
82a7fd561b
feat(kit): createResolver utility (#3111) 2022-02-07 22:39:31 +01:00
pooya parsa
03d5fdde2d
feat(kit)!: expose resolvePath (#3110) 2022-02-07 22:00:20 +01:00
Daniel Roe
614e87e9f0
feat(nitro): add support for lambda v2 payload format (#3070)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-07 13:25:05 +01:00
Daniel Roe
b3e9cf6fd6
fix(nuxt3)!: key routes by interpolated path (#2976) 2022-02-07 12:32:04 +01:00
Lee Robinson
619f9dd3e7
docs: Update Vercel deployment documentation. (#3000) 2022-02-07 11:22:09 +01:00
Daniel Roe
b91150d67c
docs: add keepalive docs (#3090) 2022-02-07 11:17:28 +01:00
Daniel Roe
8fbdab8151
docs: update links to new vuejs.org site (#3091) 2022-02-07 11:16:45 +01:00
Chris Calo
b48bad0aaf
docs: fix typo (#3062) 2022-02-05 13:39:26 +00:00
Clément Ollivier
16167264e3
docs(concepts): rendering (#3031)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-03 16:47:25 +01:00
Daniel Roe
083f90b719
refactor: extract <NuxtLayout> from <NuxtPage> (#3011) 2022-01-31 19:58:19 +01:00
Daniel Roe
47dfb7b519
docs: add links to discussions for work-in-progress (#3005) 2022-01-31 11:59:32 +01:00
Richard Schloss
4d9bf0c359
docs: add "Are you courageously Nuxt" subsection (#2960) 2022-01-31 11:55:45 +01:00
Gareth Redfern
33f6c3ef74
docs: add missing </script> tag (#2990) 2022-01-31 10:33:42 +00:00
Victorio Berra
8c6f5fd3de
docs: add https:// to link (#2988) 2022-01-29 21:43:48 +00:00
Julian Martin
e0b565171f
docs: fix localhost link (#2986) 2022-01-29 21:20:41 +00:00
Philipp Fischbeck
d73e11777e
docs: fix broken link in docs/advanced/kit (#2966) 2022-01-28 12:31:22 +01:00
Vinil Vasani
558be39875
docs: minor nuxt module doc change (#2962) 2022-01-27 21:59:48 +00: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
944464781d
feat(nuxt3): make layout and other page meta reactive (#2926) 2022-01-26 12:56:24 +01:00
Daniel Roe
ff001f68e7
docs(migration): update comparison table (#2905) 2022-01-25 15:02:57 +01:00
Daniel Roe
dccc0c9c6f
feat(nuxt3): add middleware via route meta (#2858) 2022-01-25 13:29:11 +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
Daniel Roe
29fa0c991b
feat(nuxt3)!: support layout transitions (#2861)
* feat(nuxt3): support layout transitions

* docs: update
2022-01-24 18:10:42 +01:00
Daniel Roe
83a959a67b
fix(nuxt3): allow customising page keys (#2859) 2022-01-24 11:35:28 +01:00
J Bruni
3125c72e09
docs(esm): fix typo (#2866) 2022-01-24 11:31:55 +01:00
shinguweb96
3b1f8a99b7
docs: correct bridge codesandbox (#2830) 2022-01-21 10:49:14 +01:00
Daniel Roe
dfb4f9675b
docs: fix layout meta example (#2835) 2022-01-21 10:48:48 +01:00
Daniel Roe
f219f635ad
feat(nuxt3): allow disabling vue type shims (#2773) 2022-01-19 19:10:38 +01:00
Tal Dromi
05e75426ce
docs: fix typo (#2775) 2022-01-18 17:53:33 +01:00
Daniel Roe
b38e394dfe
fix(nuxt3): import top-level files and subdirectory indices (#2774) 2022-01-18 17:43:41 +01:00
carlcs
23b230b34b
docs: fix typo (#2769) 2022-01-18 17:36:29 +01:00
Lawrence Pan
bce07e6d6e
docs: fix typo (#2760) 2022-01-17 20:02:41 +01:00
Daniel Roe
93ef422b5d
feat(nuxt3): add support for definePageMeta macro (#2678) 2022-01-17 19:27:23 +01:00
Daniel Roe
fb0a27aa98
docs: add the environment variables server preset supports (#2755) 2022-01-17 13:52:33 +01:00
gregg-cbs
1033a223ff
docs: add api req helpers example (#2726) 2022-01-17 11:56:12 +01:00
Ricardo Fiorani
387f64adc8
docs(bridge): advice to stop dev server before upgrade (#2622) 2022-01-11 19:05:06 +01:00
Josh Deltener
69309c9c0f
chore: minor grammar tweak (#2640) 2022-01-11 19:01:53 +01:00
Anthony Fu
11becef735
refactor: update internal modules signature(#2610) 2022-01-05 19:09:53 +01:00
Ilya Komichev
70fe5e72e6
docs: remove extra spaces (#2592) 2022-01-05 19:09:00 +01:00
Eugene Kopich
c8322c4e53
chore: fix pm2 link (#2560) 2022-01-05 19:08:26 +01:00
Anthony Fu
afcaaff57d
chore(example): use @nuxt/ui for examples (#2325)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-23 20:27:08 +01:00
Eckhardt (Kaizen) Dreyer
79a1b31e83
fix(docs): fix broken links in server section (#2504)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-23 14:52:03 +01:00
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