Closed hartmut-co-uk closed 5 years ago
@Atinux @manniL @galvez -> @stepbeekio has provided a working extension of vanilla vue for nuxt, please have another look at https://github.com/wagerfield/nuxt-typescript/issues/6
(unsure if it's complete...)
Maybe it can make it into v2 for better typescript support? :muscle:
covered with https://github.com/nuxt/nuxt.js/pull/4164
What problem does this feature solve?
Currently when using nuxt with ts - I'm unable to add
watchQuery
&key
to my vue components.Please see https://github.com/nuxt/nuxt.js/blob/dev/examples/layout-transitions/pages/users.vue#L22-L25 and/or https://nuxtjs.org/api/pages-watchquery
Further reference: https://github.com/nuxt-community/nuxt-property-decorator/issues/13
What does the proposed changes look like?
Adding the fields / ts definitinos?