2 ms·
> What makes me pick Vue in the end is the fact that there is no compiler needed Why are then Vue components written in .vue files and compiled to Javascript t
by dmitriid 9y ago
> What makes me pick Vue in the end is the fact that there is no compiler needed
Why are then Vue components written in .vue files and compiled to Javascript then? ;)
- yev 9y agoYou don't have to use .vue files to actually write Vue[1]. .vue files are there for simple single file components[2]. [1]: https://jsfiddle.net/yyx990803/y91wy85p/?utm_source=website&utm_medium=embed&utm_campaign=y91wy85p https://jsfiddle.net/yyx990803/y91wy85p/?utm_source=website&... [2]: https://vuejs.org/v2/guide/single-file-components.html https://vuejs.org/v2/guide/single-file-components.html