DEV Community

Discussion on: Writing a Vue component using TDD: a gentle introduction

Collapse
realtebo profile image
Mirko Tebaldi • Edited on

I strongly disagree to make a tutorial using packages that are not focued on topic of the post.

Why do you use vue-property-decorator speaking about TDD ?

It's confusing for users to see this new syntax

Collapse
astagi profile image
Andrea Stagi Author

Hi Mirko! Why users should be confused? This tutorial uses TypeScript, if you choose "TypeScript" from vue-cli you'll find vue-property-decorator used in the generated example. vue-property-decorator is not related to TDD, you can replicate all the steps of this tutorial for your Vue component written using JavaScript.