DEV Community

Discussion on: How to write a Vue.js app completely in TypeScript

Collapse
 
manuelojeda profile image
Manuel Ojeda

Nice post.

The only thing I prefer is using the Vue.extends instead of vue-property-decorator. Why? Because the Vue.extends has more support from the Vue Core Team and the syntax doesn't change too much as we usually use with the JS version.

How to use it? Pretty simple:

export default Vue.extends({
  // The rest fo your code here
})