Commit Graph

467 Commits

Author SHA1 Message Date
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