Subscribe on changes!

A way to allow duplicate attribute in @vue/compiler-dom

avatar
Dec 8th 2021

What problem does this feature solve?

solves a parse failure in https://github.com/vitejs/vite/issues/5966 according to mentioned issue, duplicate class attributes are allowed in html

related issue: https://github.com/vuejs/vue-next/issues/4883

Reproduction

What does the proposed API look like?

a new option to to allow duplicate attributes

avatar
Dec 13th 2021

https://html.spec.whatwg.org/multipage/syntax.html#attributes-2

image

I wonder in what standard duplicate attributes are allowed.