1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-04 20:54:44 +00:00
Commit Graph

185 Commits

Author SHA1 Message Date
HomWang
39a6054a44
docs(composables): add nested and plugin injection examples ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-22 17:33:28 +02:00
HomWang
746196f1b0
docs(plugins): add note about composable usage ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-22 16:09:12 +02:00
Qin Guan
ae39a821b5
docs: use updated h3 utils () 2022-08-22 10:49:27 +02:00
__Catalina
40f0c82324
docs: fix typo in defineEventHandler example () 2022-08-18 13:38:01 +02:00
Daniel Roe
9ef2709159
docs: make wording slightly clearer () 2022-08-18 10:40:24 +02:00
pooya parsa
94f76ea930
feat(nuxt): app.config with hmr and reactivity support ()
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 ()
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 () 2022-08-16 10:14:03 +02:00
Mourad EL CADI
e2745f6d75
docs(data-fetching): fix and simplify cookie proxy example () 2022-08-15 16:54:09 +02:00
HomWang
3920065bff
docs(server): add nitro config and storage examples ()
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 () 2022-08-15 16:14:00 +02:00
Angelo Schuler Piletti
ff924468ea
docs: global style imports example () 2022-08-14 14:49:01 +02:00
HomWang
74320200e7
docs(components): use fallbackTag in ClientOnly examples () 2022-08-13 09:32:42 +02:00
Damian Głowala
92a04cc036
docs: ensure consistent casing of section headers () 2022-08-13 09:27:04 +02:00
Eugen Istoc
1072140b05
docs: change info to danger for pages root element () 2022-08-11 23:20:09 +02:00
pooya parsa
5ea0474225
v3.0.0-rc.7 () 2022-08-11 12:40:11 +02:00
Sébastien Chopin
1f01fdfa32
docs: update full static status () 2022-08-09 15:36:27 +02:00
Nathan Chase
70aec38428
docs: update vue-router links () 2022-08-08 10:27:19 +02:00
Harlan Wilton
622c976cec
fix(nuxt): render head scripts that use body: true ()
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 () 2022-08-02 13:20:44 +02:00
Daniel Roe
4e2667fcb7
feat(nuxt): add support for components/global ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
Rio Weber
fe0b469ca9
docs: grammar fix () 2022-07-27 10:59:24 +02:00
Nur Muhammad
b751248627
docs: update link to the configuration () 2022-07-26 15:42:43 +02:00
David Tai
3a822c7177
refactor(nuxt): enhance useFetch and useLazyFetch request type ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Mitsuki Fukunaga
38158cf261
docs: add explicit createError import ()
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 ()
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 ()
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 ()
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 ()
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 () 2022-07-20 17:15:27 +02:00
码农小余
8b6bb92d9f
docs(testing): add missing import () 2022-07-17 16:17:52 +02:00
pooya parsa
2e85cd0252
refactor(nuxt): add treeshakeClientOnly experimental flag ()
* refactor(nuxt): add `treeshakeClientOnly` experimental flag

* test: enable flag for fixture
2022-07-17 15:13:04 +02:00
Daniel Roe
df04a665ce
perf(nuxt): tree-shake client-only components from ssr bundle ()
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 () 2022-07-14 16:03:58 +02:00
bot08
7725dece1b
docs: add read more link () 2022-07-14 15:59:29 +02:00
lm
a745be363b
docs: improve runtimeConfig example ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-13 19:03:02 +02:00
OptimusePrime
9f40d5c7d0
docs: fix typo () 2022-07-13 19:02:33 +02:00
AnPineau
18d2dd19d2
docs: fix typo () 2022-07-13 12:22:07 +02:00
Cupid Valentine
6322d35b3f
docs: add missing dot () 2022-07-11 10:46:20 +02:00
Krutie Patel
3d3445377d
docs(api): add anavigateTo docs ()
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 ()
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
Mourad EL CADI
c88e1716ab
docs: useFetch uses isomorphic $fetch () 2022-07-07 19:03:46 +02:00
Paranoid
dd436eabae
docs(plugins): add directive example ()
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
Cupid Valentine
ff2b4d9fa4
docs: add full stop () 2022-07-01 11:01:14 +01:00
Cupid Valentine
0e3df24c8c
docs: update vuejs-development () 2022-07-01 11:19:45 +02:00
donatelloraphael
568fcaedfc
docs: clarify that definePageMeta only works in the pages directory ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-30 11:37:24 +02:00
Xanlantos
026903c5e7
docs: rework the layout section () 2022-06-27 14:08:19 +02:00
vasiliy
d2c3727c5f
docs: replace invalid link to composables () 2022-06-27 13:45:42 +02:00
Nestor Vera
c4f64faaf7
docs: minor wording improvements () 2022-06-27 13:44:27 +02:00
Alexander Lichter
de3b4084a5
docs(testing): fix async/await () 2022-06-20 18:53:45 +02:00
Damian
11aa8bf739
docs: align value for defaulting the page's title with type declaration () 2022-06-15 14:03:58 +02:00
Thomas Jowsey
cd338f4537
docs: rewrite note wording ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-15 10:54:12 +01:00
Daniel Roe
0f4fa5643f
fix(nuxt): ignore whitespace and commas within resolveComponent () 2022-06-12 23:22:15 +02:00
Maxim
75db90487f
docs: fix mdn links for 301 and 302 http status () 2022-06-11 14:09:48 +01:00
Zalexios
ba4f2f0d4f
docs: update plugin provide example () 2022-06-10 16:28:17 +02:00
Daniel Roe
f6bf4f7559
fix(nuxt): throw an error when using unknown route middleware () 2022-06-10 15:35:58 +02:00
Daniel Roe
4e2dc037aa
docs: add warning against layout as root element () 2022-06-08 21:53:39 +02:00
Xin Du (Clark)
139fc11c5a
refactor: fix typo and code improvements () 2022-06-08 21:49:11 +02:00
Nathan Chase
7c2f96e5c0
docs: fix typo in programmatic navigation ()
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
2022-06-08 21:21:52 +02:00
Charlie Joseph
e6b48c2b20
docs: add documentation for titleTemplate ()
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 ()
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 () 2022-06-03 15:53:30 +02:00
Josee
223adc9bc2
docs(guide): add use of NuxtLayout in app.vue with pages () 2022-06-01 00:34:41 +02:00
Anthony Fu
fca2ed7cc5
fix(nuxt): default statusCode of navigateTo from 301 to 302 ()
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 () 2022-05-31 23:20:07 +02:00
Ash Go
a0b89d5dfe
docs: typo () 2022-05-30 14:37:22 +02:00
Charlie Joseph
32cb06b629
docs: fix nuxt app guide linking to a 404 page () 2022-05-24 16:09:48 +02:00
Udofia, Godwin
cad9ce4a6a
docs: update wording of client-side rendering explanation () 2022-05-20 11:10:28 +02:00
Alexander Lichter
557c40c97f
docs(middleware): add navigateTo options ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-20 11:09:41 +02:00
Daniel Roe
36ad29a67c
docs(data-fetching): add note about difference between useFetch and useAsyncData () 2022-05-20 10:59:45 +02:00
Salim Absi
c0f0670ad7
docs: fix api examples () 2022-05-09 16:12:41 +02:00
Salim Absi
ecc8c0adb9
docs(data-fetching): fix and improve example () 2022-05-06 13:12:59 +02:00
Jonty Brook
342ecb9737
docs: fix example runtime hook plugin syntax () 2022-05-06 10:48:10 +02:00
pooya parsa
a8d42d586f
v3.0.0-rc.2 () 2022-05-02 22:47:05 +02:00
zzxswl
82f959d91f
docs: make useFetch example consistent with others () 2022-05-02 10:47:48 +02:00
Daniel Roe
ff60e9f97c
docs: add note that .env is not read in production () 2022-04-29 20:09:12 +02:00
Maksim Nedoshev
d568081ca5
docs: fix incorrect function declaration in composables () 2022-04-29 20:07:43 +02:00
Florent Catiau-Tristant
e360e31413
docs: add notes about auto imports from composables/ directory () 2022-04-29 11:36:59 +02:00
Sreecharan
eef037d604
docs: fix typos () 2022-04-29 10:54:33 +02:00
Clément Ollivier
8424165258
docs(features): complete assets page ()
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 ()
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
2022-04-27 12:36:25 +02:00
Natchapon Saejueng
cc37547993
docs: fix edge alert syntax () 2022-04-27 11:03:22 +02:00
pooya parsa
e789a5727b
docs: add note and banner about edge channel () 2022-04-26 20:15:41 +02:00
Daniel Roe
2bfd749c24
feat(pages)!: explicitly allow optional params with [[ () 2022-04-26 18:10:05 +02:00
Volker Rose
d012eff808
docs: make titleTemplate function form example clearer ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-26 16:34:20 +02:00
Damian
f0594d9037
docs: fix typo () 2022-04-26 15:15:15 +02:00
Daniel Townsend
e378985c29
docs: fix some minor typos ()
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 () 2022-04-26 12:13:49 +02:00
Daniel Roe
8fae863997
docs: add layout to match custom header example () 2022-04-25 18:54:20 +02:00
L.Rain
41d5cbbf3a
docs: update environment variable in example () 2022-04-25 11:29:26 +02:00
Maciej Jezierski
0eebb0a390 docs: improve server routes guide () 2022-04-22 18:32:37 +02:00
Sébastien Chopin
4fe97389b6
docs: improve netlify deployment ()
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 () 2022-04-22 13:43:37 +02:00
Sébastien Chopin
664aa970d0
docs: simplify example of Head components () 2022-04-21 16:58:43 +02:00
Pooya Parsa
705e2e871a docs: keep directory-structure open 2022-04-20 23:03:34 +02:00
Sébastien Chopin
d567a91d7d
docs: add link to hybrid rendering RFC ()
* 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 ()
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 : () 2022-04-20 17:06:27 +02:00
Daniel Roe
8d92a9cdba
docs: document fallback for runtime config () 2022-04-20 16:24:59 +02:00