Hi to all,
I’ve been tasked with creating a new single page application on a platform that provides generates content dynamically from a CMS in which style tags are frequently present. I can’t get rid of the tags or know their content in advance.
When I try to instantiate components, Vue complains about those tags:
Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as , as they will not be parsed.
Would patching vue.js’s isForbiddenTag function to allow style tags cause any issues I am not aware of?
btw, this question was similar to mine but doesn’t answer my question: Is the warning about script tags inside of a Vue component template only a “warning”?
Thanks in advance.