Commit Graph

464 Commits

Author SHA1 Message Date
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
renovate[bot]
5fa9d79303
chore(deps): update all non-major dependencies (#3888)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-25 15:43:14 +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
renovate[bot]
fa8daefb6e
chore(deps): update all non-major dependencies (#3660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 15:51:53 +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
pooya parsa
20f31712c1
feat(nuxt3): auto generate runtime config type declarations (#3573)
Co-authored-by: Rodrigo Mesquita <rodrigoriome@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Rodrigo Mesquita <30835404+rrmesquita@users.noreply.github.com>
2022-03-09 14:41:24 +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
renovate[bot]
5b7fbc1569
chore(deps): update all non-major dependencies (#3450) 2022-03-08 18:17:01 +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
renovate[bot]
5c1f2fad83
chore(deps): update all non-major dependencies (#3347)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 12:39:10 +01: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
pooya parsa
12a95ad86c
test: rework tests using @nuxt/test-utils (#3308) 2022-02-18 19:14:57 +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
renovate[bot]
a43757b082
chore(deps): update all non-major dependencies (#2970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 11:55:56 +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
renovate[bot]
3f00803a9a
chore(deps): update all non-major dependencies (#2961)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-28 12:32:21 +01: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
renovate[bot]
a0ed3142d4
chore(deps): update dependency three to ^0.137.0 [security] (#2959)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-27 20:26:23 +01:00
pooya parsa
9ef94d19f7
docs: add advanced section for module authors (#2950) 2022-01-27 18:02:42 +01:00
renovate[bot]
4b1ea5741e
chore(deps): update dependency jiti to ^1.12.14 (#2929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 13:03:01 +01:00
Anish George
150caefa34
docs: add example of inlined css for <Style> component (#2910) 2022-01-26 12:58:51 +01:00
renovate[bot]
0affa39b62
chore(deps): update all non-major dependencies (#2912)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-01-26 12:57:33 +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
renovate[bot]
c8b02972d0
chore(deps): update all non-major dependencies (#2527)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 19:37:56 +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
renovate[bot]
7d8a1769fa
chore(deps): update all non-major dependencies (#2144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:34:40 +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
Daniel Roe
650f14bc42
docs: update runtimeconfig augmentation (#2108) 2021-11-23 16:43:24 +01:00
Damian
5bc9012eff
docs: improve cookies section (#2092) 2021-11-23 00:24:12 +01:00
pooya parsa
9920181df3
feat(nuxt3, bridge): useCookie universal composable (#2085) 2021-11-22 21:43:00 +01:00
davidblnc
cc342eb6c4
docs: disable gem dragging (#2049)
fixes issue #1852 of nuxtjs.org repository

Co-authored-by: davidblnc <test@test.com>
2021-11-22 21:32:01 +01:00
pooya parsa
d68318f9d5
refactor: split schema to @nuxt/schema and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
Daniel Roe
90153a9fb8
docs: update command in bridge migration (#2038) 2021-11-21 13:32:28 +01:00
Daniel Roe
4055024e5f
docs: update nuxt.config introduction (#2039)
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
2021-11-21 13:32:16 +01:00
Damian
9efdf43eec
docs: improve various sections (#2040) 2021-11-21 13:31:44 +01:00
pooya parsa
b1371373c8
docs: improve schema generation (#2035) 2021-11-19 17:26:15 +01:00
Daniel Roe
c184211681
fix(bridge): add docs links and warnings for data composables (#2010) 2021-11-19 12:37:29 +01:00
renovate[bot]
cdb287bd5c
chore(deps): update all non-major dependencies (#2023)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 12:36:50 +01:00
Umesh Ganapathy
446cec7234
docs: use slot component in components example (#2027) 2021-11-19 12:36:25 +01:00
Daniel Roe
4e9a27257b
feat(nuxt3): automatically inject returns from plugins (#2001)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-18 14:11:34 +01:00
renovate[bot]
fdcec1fdc6
chore(deps): update all non-major dependencies (#1990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 12:09:16 +01:00
Xin Du (Clark)
a08b435f51
refactor: remove unnecessary optional chaining (#1991) 2021-11-17 15:37:34 +01:00
Xin Du (Clark)
c90bc50817
chore(lint): improve no-unused-vars rule (#1977) 2021-11-17 12:21:38 +01:00
Sébastien Chopin
07ba36d721
docs: useState improvements (#1973) 2021-11-16 17:12:36 +01:00
pooya parsa
6d94158e95
docs: improve useState examples (#1969)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2021-11-16 16:37:36 +01:00
Sébastien Chopin
bf0933a2f0
docs: improve useState docs and add example (#1961)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-16 14:17:52 +01:00
pooya parsa
b16cfea689
feat: typescript options (#1940) 2021-11-16 13:32:21 +01:00
Damian
5f5eb39ae4
docs: fix typos in useState (#1962) 2021-11-16 13:15:05 +01:00