News for hackers. Stuff that matters.
Re:How we do Vue: one year later (2017) by bargl on Monday March 18, 2019 @06:29PM (#19426007)
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.
Re:How we do Vue: one year later (2017) by m_fayer on Monday March 18, 2019 @06:53PM (#19426168)
TS 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
Re:How we do Vue: one year later (2017) by bargl on Monday March 18, 2019 @07:10PM (#19426283)
You'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-f...

Re:How we do Vue: one year later (2017) by pietrovismara on Tuesday March 19, 2019 @04:46AM (#19429094)
You just need 2 libraries, then it becomes really good: vue-class-components and vuex-module-decorators.
Re:How we do Vue: one year later (2017) by usx on Tuesday March 19, 2019 @04:51AM (#19429120)
Don't forget vue-property-decorators.
Re:How we do Vue: one year later (2017) by jakecodes on Monday March 18, 2019 @06:40PM (#19426085)
I haven't done much with TypeScript. But I always hear great things.