3 ms·
Have you done any work with Vue and Typescript? We're just starting out with Vue. But my understanding was that TypeScript is a first class citizen in the new
by bargl 8y ago
Have you done any work with Vue and Typescript? We're just starting out with Vue. But my understanding was that TypeScript is a first class citizen in the new version of Vue.
- jakecodes 8y agoI haven't done much with TypeScript. But I always hear great things.
- m_fayer 8y agoTS isn't a first-class citizen in 2.x, and you'll need to go through a couple of awkward maneuvers to prevent Vue from negating many of the benefits of TS, but it can absolutely be done. This sample project sums it up nicely: https://github.com/Armour/vue-typescript-admin-template https://github.com/Armour/vue-typescript-admin-template
- bargl 8y agoYou're right. Thanks for the link that's helpful. Looks like 3.x plans to be built on typescript but I'm not sure if this article is still relevant, I very recently started paying serious attention to Vue.js so I'm playing a game of drink from a fire-hose. https://hub.packtpub.com/vue-js-3-0-is-ditching-javascript-for-typescript-what-else-is-new/ https://hub.packtpub.com/vue-js-3-0-is-ditching-javascript-f...
- pietrovismara 8y agoYou just need 2 libraries, then it becomes really good: vue-class-components and vuex-module-decorators.
- usx 8y agoDon't forget vue-property-decorators.