4 ms·
I hope it has first-class TypeScript support. Having worked in large TS codebase I can't imagine going back to a JS codebase of the same size. Angular has TS a
by octref 10y ago
I hope it has first-class TypeScript support. Having worked in large TS codebase I can't imagine going back to a JS codebase of the same size.
Angular has TS and React has Flow, but most of Vue projects seem to use neither. This is fine for small side-projects, but I'm wondering if anyone could share experience building large Vue apps without types.
- EvanYou 10y agovue core, vue-router and vuex 2.0 all have typings shipped directly in the NPM packages.
- octref 10y agoThat's really nice, but I didn't find any examples of TS + Vue in all three repos though. Guess I'll play around with it in the weekend.
- mixedCase 10y agoVue's "default" way of doing things is plain JavaScript or Babel if you're using the vue-cli templates. However, with Vue 2 TS typings ship with the packages according to the final comment in this: https://github.com/vuejs/vue/issues/478 https://github.com/vuejs/vue/issues/478 so I'd assume TS is officially supported.