Commit Graph

286 Commits

Author SHA1 Message Date
Daniel Roe
f668d7457f
fix(nuxt3): define route in plugin rather than composable (#2443) 2021-12-20 11:37:00 +01:00
Daniel Roe
3eed5cb193
fix(nuxt3): ignore tests within components directory (#2347) 2021-12-17 10:30:36 +01:00
Daniel Roe
d3e27874f5
fix(nuxt3): add imports.d.ts to nuxt.d.ts (#2399) 2021-12-17 10:25:40 +01:00
Daniel Roe
6c1cb11b95
feat(nuxt): add wrapped useRoute and useRouter composables (#2406) 2021-12-17 10:15:03 +01:00
Daniel Roe
2cf8c45823
fix(nuxt3): import computed from vue to preserve reactivity (#2352) 2021-12-14 14:29:57 +01:00
Daniel Roe
c87c692ddb
fix(nuxt3): don't mock server-only properties on client-side (#2376) 2021-12-14 14:28:43 +01:00
Daniel Roe
fb33033f45
feat(nuxt3): add global type definitions for built-in components (#2340) 2021-12-10 14:46:53 +01:00
Daniel Roe
6a25d3e245
fix(nuxt3): use resolved options for useCookie (#2260) 2021-12-02 12:29:26 +01:00
Daniel Roe
00e6043601
refactor(nuxt3): don't include null errors in payload (#2153) 2021-11-29 12:22:38 +01:00
Anthony Fu
b7a429ca61
feat: support importing from #imports (#2168) 2021-11-29 12:20:57 +01:00
Anthony Fu
f5d1d9a208
fix(auto-import): improve auto-import regex (#2172) 2021-11-29 12:17:51 +01:00
Anthony Fu
010febd1b3
feat(useCookie): support default value (#2147) 2021-11-29 11:40:12 +01:00
Daniel Roe
955fa364fa
fix(nuxt3): include error and pending values in asyncData state (#2130) 2021-11-24 20:59:04 +01:00
pooya parsa
7e5e50bba7
fix(nuxt3): keep nuxtApp instance in client-side (#2114) 2021-11-23 18:50:20 +01:00
Daniel Roe
834532bf71
fix(schema, nuxt3): export meta types from schema (#2103) 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
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 (#2085) 2021-11-22 21:43:00 +01:00
pooya parsa
d68318f9d5
refactor: split schema to @nuxt/schema and simplify kit (#2059) 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 (#1988) 2021-11-19 13:22:27 +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
Tobias Diez
18924da869
chore(bridge): Improve typing of defineNuxtPlugin function (#1995) 2021-11-18 12:08:58 +01:00
Luc
bff71029c8
docs: fix typo (#1975) 2021-11-17 12:28:36 +01:00
Xin Du (Clark)
c90bc50817
chore(lint): improve no-unused-vars rule (#1977) 2021-11-17 12:21:38 +01:00
Daniel Roe
49179d2d8d
fix(nuxt3): allow attrs to be included in head tags (#1959) 2021-11-16 17:10:03 +01:00
kazuya kawaguchi
c53b6a5f2e
refactor(nuxt3): use the @nuxt/kit template utilites (#1908) 2021-11-15 20:20:51 +01:00
Daniel Roe
4a3ba73f22
fix(nuxt3): enable useAsyncData and useFetch usage within plugins (#1933) 2021-11-15 17:34:39 +01:00
fgiraud
6b873f15bc
chore(nuxt3): add tests, comments and example for components scan (#1455)
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 (#1929) 2021-11-15 16:59:15 +01:00
Daniel Roe
f011a60dae
feat(nuxt3, bridge): add lazy helpers (useLazyAsyncData and useLazyFetch) (#1861) 2021-11-15 13:09:07 +01:00
Anthony Fu
8e12394e2d
feat: built-in client only component (#1853)
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 (#1849)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 11:25:50 +01:00
webfansplz
73f9cd2f94
fix(nuxt3): remove unexposed auto imports (#1902) 2021-11-15 11:16:26 +01:00
Daniel Roe
abfbd2f34e
feat: add <Html> meta component (#1820)
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
Daniel Roe
13a8e2b163
fix(nitro, nuxi): add runtimeConfig types (for #config and useRuntimeConfig()) (#1783)
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 (#1740)
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 (#1735) 2021-11-05 15:39:14 +01:00
Anthony Fu
929a634013
refactor: plugin templates (#1678)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-04 09:16:54 +01:00
Daniel Roe
0dd86de586
fix(nuxt3): use nuxt extensions for component discovery (#1649) 2021-11-02 16:27:42 +01:00
Daniel Roe
f3ff87c812
fix(nuxt3): enable legacy access to $config and static flags (#1588) 2021-11-02 12:28:19 +01:00
pooya parsa
efe1fea1d1
feat(kit): addComponent utility (#1579) 2021-11-02 12:27:25 +01:00
Ahad Birang
bd654364b9
fix(nuxt3): pass css text into children props (#1635) 2021-11-02 11:32:52 +01:00
Anthony Fu
e58270a50f
fix(nuxt3): allows plugins without default export (#1618) 2021-11-02 10:49:45 +01:00
Daniel Roe
2b35e92bd7
fix(nuxt3): add vue-router types when used (#1603) 2021-11-02 10:39:42 +01:00
Daniel Roe
8ad5d89a15
fix(nuxt3): only add ref if types were generated (#1606) 2021-11-02 10:38:32 +01:00
pooya parsa
4e424d0d10
feat(nuxt3): support components with global: false and always enable transform (#1578) 2021-10-29 13:36:55 +02:00
Daniel Roe
c6f769e94d
fix(nitro): inject payload for spa renderer (#1434) 2021-10-25 12:36:38 +02:00