Currently in a course where I have the freedom to choose a framework for developing a basic application. The catch is, we are required to validate the HTML code with the W3C validator.
However, I'm facing an issue as the W3C validator does not recognize Vue-specific attributes. So, errors like:
Attribute v-for not allowed on element div at this point.
Attribute :key not allowed on element div at this point.
appear repeatedly, even for just one line of code.
<div v-for="mov in movie" :key="mov.id">
I am perplexed – am I missing something or just being ignorant? How can I possibly make use of the W3C validator along with Vue or any other framework that uses non-standard attributes (like "classname" in React)?
Please note that using a different validation tool is not an option, the W3C validator has to be utilized.