4 ms·
It is not an embedded mini string language. It is JavaScript and interpreted as such. When an attribute is prefixed with a colon (:), then those quotations are
by warent 9y ago
It is not an embedded mini string language. It is JavaScript and interpreted as such. When an attribute is prefixed with a colon (:), then those quotations are homologous to JSX curlies.
Your IDE should be able to syntax highlight and even lint it.
- Kiro 9y agoThe comment was clearly not about colons alone. I've built a large project in Vue and I absolutely hated the template language compared to JSX. It was Angular 1 all over again.
- sillysaurus3 9y agoFWIW Webstorm somewhat mitigates this. I know it feels sticky to rely on IDE tooling, but it's pretty good in my experience. People have reported some issues with the Vue tooling, but it's worth trying: brew cask install webstorm cd your-app && webstorm .