1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-23 09:00:31 +00:00
Commit Graph

429 Commits

Author SHA1 Message Date
Daniel Roe
955fa364fa
fix(nuxt3): include error and pending values in asyncData state () 2021-11-24 20:59:04 +01:00
renovate[bot]
4efd72d5d4
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 16:43:01 +01:00
pooya parsa
7e5e50bba7
fix(nuxt3): keep nuxtApp instance in client-side () 2021-11-23 18:50:20 +01:00
Daniel Roe
834532bf71
fix(schema, nuxt3): export meta types from schema () 2021-11-23 11:16:11 +01:00
Sébastien Chopin
c3b72a6ee2 fix(types): cookie options are optional 2021-11-23 01:23:33 +01:00
Pooya Parsa
5be2f17b99 chore: remove unused @types/cookie 2021-11-23 00:23:45 +01:00
Pooya Parsa
8994b5a368 fix: use cookie-es 2021-11-23 00:20:20 +01:00
Pooya Parsa
92a03d6002 fix: avoid double decoding cookie 2021-11-22 22:29:11 +01:00
Pooya Parsa
ee1546be25 use update cookie import 2021-11-22 22:17:20 +01:00
pooya parsa
9920181df3
feat(nuxt3, bridge): useCookie universal composable () 2021-11-22 21:43:00 +01:00
pooya parsa
d68318f9d5
refactor: split schema to @nuxt/schema and simplify kit () 2021-11-21 17:14:46 +01:00
jbmolle
d3fb5129d7
fix(nuxt3): add missing key property to meta components
Co-authored-by: JB <jb.molle@vescape.com>
2021-11-19 13:31:19 +01:00
Daniel Roe
4fe1fc881c
feat(kit): add more specific typings for schema () 2021-11-19 13:22:27 +01:00
renovate[bot]
cdb287bd5c
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 12:36:50 +01:00
renovate[bot]
b660ac0900
chore(deps): update dependency @vueuse/head to ^0.7.2 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 23:28:01 +08:00
Daniel Roe
4e9a27257b
feat(nuxt3): automatically inject returns from plugins ()
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-18 14:11:34 +01:00
renovate[bot]
dd4dd9e30e
chore(deps): update dependency @vueuse/head to ^0.7.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 12:38:58 +01:00
Tobias Diez
18924da869
chore(bridge): Improve typing of defineNuxtPlugin function () 2021-11-18 12:08:58 +01:00
Luc
bff71029c8
docs: fix typo () 2021-11-17 12:28:36 +01:00
Xin Du (Clark)
c90bc50817
chore(lint): improve no-unused-vars rule () 2021-11-17 12:21:38 +01:00
Daniel Roe
49179d2d8d
fix(nuxt3): allow attrs to be included in head tags () 2021-11-16 17:10:03 +01:00
kazuya kawaguchi
c53b6a5f2e
refactor(nuxt3): use the @nuxt/kit template utilites () 2021-11-15 20:20:51 +01:00
Daniel Roe
4a3ba73f22
fix(nuxt3): enable useAsyncData and useFetch usage within plugins () 2021-11-15 17:34:39 +01:00
fgiraud
6b873f15bc
chore(nuxt3): add tests, comments and example for components scan ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 17:22:46 +01:00
Daniel Roe
0a74940bf6
fix(nuxt3): enable app-level <suspense> with pages module () 2021-11-15 16:59:15 +01:00
renovate[bot]
5786949d9b
chore(deps): update all non-major dependencies () 2021-11-15 13:09:26 +01:00
Daniel Roe
f011a60dae
feat(nuxt3, bridge): add lazy helpers (useLazyAsyncData and useLazyFetch) () 2021-11-15 13:09:07 +01:00
Anthony Fu
8e12394e2d
feat: built-in client only component ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 12:57:38 +01:00
Anthony Fu
f298386795
feat(bridge, nuxt3): mock vue-demi ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 11:25:50 +01:00
webfansplz
73f9cd2f94
fix(nuxt3): remove unexposed auto imports () 2021-11-15 11:16:26 +01:00
Anthony Fu
202617bdd1
fix(bridge): plugin default detection ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-11 14:58:43 +01:00
Daniel Roe
abfbd2f34e
feat: add <Html> meta component ()
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 21:25:29 +01:00
renovate[bot]
02f3fd1451
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 21:15:39 +01:00
Daniel Roe
13a8e2b163
fix(nitro, nuxi): add runtimeConfig types (for #config and useRuntimeConfig()) ()
Co-authored-by: Tobias Diez <code@tobiasdiez.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 13:40:02 +01:00
Daniel Roe
95cbe67f99
feat(kit, nuxt3): add pages:extend and extendPages ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: fgiraud <hello@florent.dev>
2021-11-09 11:16:23 +01:00
Daniel Roe
5b8e10f28e
fix(nuxt3): add missing auto imports () 2021-11-05 15:39:14 +01:00
renovate[bot]
596c8c5476
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 14:15:10 +01:00
renovate[bot]
6bd7186976
fix(deps): update dependency ohmyfetch to ^0.4.4 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 00:23:56 +01:00
Anthony Fu
929a634013
refactor: plugin templates ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-04 09:16:54 +01:00
renovate[bot]
6f934aa9d9
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 14:32:25 +01:00
Daniel Roe
0dd86de586
fix(nuxt3): use nuxt extensions for component discovery () 2021-11-02 16:27:42 +01:00
Daniel Roe
f3ff87c812
fix(nuxt3): enable legacy access to $config and static flags () 2021-11-02 12:28:19 +01:00
pooya parsa
efe1fea1d1
feat(kit): addComponent utility () 2021-11-02 12:27:25 +01:00
renovate[bot]
266578b76e
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 12:26:26 +01:00
Ahad Birang
bd654364b9
fix(nuxt3): pass css text into children props () 2021-11-02 11:32:52 +01:00
Anthony Fu
e58270a50f
fix(nuxt3): allows plugins without default export () 2021-11-02 10:49:45 +01:00
Daniel Roe
2b35e92bd7
fix(nuxt3): add vue-router types when used () 2021-11-02 10:39:42 +01:00
Daniel Roe
8ad5d89a15
fix(nuxt3): only add ref if types were generated () 2021-11-02 10:38:32 +01:00
renovate[bot]
ddf45fbcc7
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 14:24:28 +02:00
pooya parsa
4e424d0d10
feat(nuxt3): support components with global: false and always enable transform () 2021-10-29 13:36:55 +02:00
Pooya Parsa
b24c9348f7 fix(nuxt3): expose nuxi command 2021-10-29 13:31:56 +02:00
Levi (Nguyễn Lương Huy)
4c17b92b66
chore(docs): add code format using markdownlint () () 2021-10-29 13:26:01 +02:00
renovate[bot]
59de0f9218
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 16:49:07 +02:00
renovate[bot]
0520db6b22
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 16:01:11 +02:00
renovate[bot]
a382bf02ff
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 16:25:51 +02:00
Anthony Fu
4f9c87b99a
fix(pkg): support node 17.x in the engines field ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-25 16:14:52 +02:00
Daniel Roe
c6f769e94d
fix(nitro): inject payload for spa renderer () 2021-10-25 12:36:38 +02:00
Daniel Roe
7d918e1457
refactor(nuxi): move nuxt.d.ts within buildDir () 2021-10-23 00:33:22 +02:00
pooya parsa
06e9c7ebc1
fix(pkg): remove vue3 from peerDependencies () 2021-10-23 00:25:25 +02:00
renovate[bot]
c8cb6c7ad1
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 19:04:28 +02:00
pooya parsa
c80353637e
feat(nitro): update dependencies for node-fetch 3.x support () 2021-10-22 19:04:15 +02:00
Levi (Nguyễn Lương Huy)
694e95b2b4
feat(nuxt3): support NuxtChild component () () 2021-10-21 21:16:52 +02:00
Levi (Nguyễn Lương Huy)
7f7794787b
fix(nuxi): support build:error hook () 2021-10-20 20:50:01 +02:00
TenshiGoan
c5920c21e7
fix(nuxt3): child routes in vue-router don't have component field ()
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-20 20:49:15 +02:00
Levi (Nguyễn Lương Huy)
a3058eebae
test(nuxt3): add unit tests for generateRoutesFromFiles () ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 20:12:55 +02:00
Daniel Roe
101eaa9baf
fix(nuxt3): restore auto-imports.d.ts to nuxt.d.ts () 2021-10-20 14:53:13 +02:00
renovate[bot]
22acd39508
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 12:13:35 +02:00
Anthony Fu
550a9f2e12
feat: auto-import for composables ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 11:47:18 +02:00
Daniel Roe
f950fe0d8a
fix(nuxt3): fix type inference for FetchResult () 2021-10-20 11:43:08 +02:00
Pooya Parsa
4526af78a9 fix(pkg): downgrade node version to 14.16.x due to stackblitz issue
14.16.0 was released at 2021-02-23. hopefully most of platforms had time to migrate LTS.
2021-10-19 13:37:59 +02:00
Pooya Parsa
8db76fcf2e fix(pkg): downgrade node version to 14.17.x due to codesandbox issue 2021-10-19 13:24:51 +02:00
OneNail
82fc3df8bb
chore(nuxt3): remove duplicate dependence () 2021-10-19 10:39:48 +02:00
Pooya Parsa
5e903ae176 fix(nuxt3): update legacy plugin (closes ) 2021-10-18 21:34:51 +02:00
pooya parsa
d8d10febd5
feat!: add engines.node field and node.js version check () 2021-10-18 21:31:15 +02:00
Daniel Roe
0b634e19a3
fix(nuxt3): auto import types () 2021-10-18 21:30:14 +02:00
pooya parsa
035e9b5e8b
refactor: rename app to vueApp () 2021-10-18 20:31:37 +02:00
pooya parsa
4cff21005f
fix(nux3): use murmurhash for fetchKey () 2021-10-18 20:31:18 +02:00
Daniel Roe
47c004ac97
fix: improve type declarations () 2021-10-18 18:06:31 +02:00
Daniel Roe
6546fccbf9
fix(nuxi): write tsconfig when generating buildDir () 2021-10-18 16:22:02 +02:00
renovate[bot]
9357d0895d
chore(deps): update dependency mlly to ^0.2.10 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:40:56 +02:00
pooya parsa
0ab477cad0
feat(auto-imports): allow extending with config and hooks () 2021-10-18 15:39:53 +02:00
Xin Du (Clark)
dbbce5fcfa
feat(kit): add components types () 2021-10-18 14:49:02 +02:00
Daniel Roe
117b3aa524
fix(nuxt3): destructure components options () 2021-10-18 13:59:31 +02:00
Xin Du (Clark)
185366ec2d
fix(nuxt3): correct compoennts hooks parameters types () 2021-10-18 11:54:29 +02:00
renovate[bot]
cba4c4202b
chore(deps): update all non-major dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:41:29 +02:00
Daniel Roe
d6ad4f3b16
fix(kit): load .env before loading nuxt.config () 2021-10-18 11:03:39 +02:00
renovate[bot]
4f050e50bf
chore(deps): update all non-major dependencies () 2021-10-18 10:50:46 +02:00
Xin Du (Clark)
6cfe98941d
fix(kit): add missing nuxt hooks types () 2021-10-18 10:14:22 +02:00
nandi95
70f1483f9e
fix(nuxt3): added missing dev to process shims () 2021-10-18 10:06:31 +02:00
Daniel Roe
93f7d776c4
fix(nuxt3): correctly type arrays returned from fetch requests () 2021-10-18 10:03:29 +02:00
Pascal Martineau
f4011d0b02
fix(nuxt3): add missing build:before hook () 2021-10-18 10:00:23 +02:00
Patrick Remy
3e38eb8511
refactor(nuxt3): export NuxtConfig for convenience () 2021-10-14 17:22:37 +02:00
Daniel Roe
d52b1e8d99
fix(nuxt3): correct auto-import file regexp () 2021-10-13 23:03:36 +02:00
renovate[bot]
07086c8397
chore(deps): update all non-major dependencies ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-13 22:41:21 +02:00
Xin Du (Clark)
a42458e107
fix(nuxt3): enable auto-imports for sfc script with type () 2021-10-13 22:24:13 +02:00
Pooya Parsa
da7ff44c93 fix(nuxt3): add missing toRef import for useState
resolves 
2021-10-12 18:24:27 +02:00
Pooya Parsa
5764042dbb fix(nuxt3): add missing getCurrentInstance import for useAsyncData () 2021-10-12 17:19:06 +02:00
Anthony Fu
4b04cdfdf1
docs: init function for useState () 2021-10-12 16:59:19 +02:00
Anthony Fu
9f0683079e
feat(nuxt3): support init function for useState () 2021-10-12 16:28:49 +02:00
Matt Kane
70c0d8eedb
chore: change Nuxt3 to Nuxt 3 () 2021-10-12 16:19:58 +02:00