Currently, I am in the process of migrating a Vue2 project to Vue3 and Typescript. While encountering several unusual errors, one particular issue with $el
has me puzzled.
I have been attempting to target every <g>
tag within the provided template, which I can manage to do, but this persistent error hinders my progress.
Any suggestions on resolving this dilemma?
The template for the component is below; however, due to its extensive size, it cannot be fully displayed here. My goal is to identify the <g>
tag.
<template>
<div class="pep-header-decoration-light">
<svg
xmlns="http://www.w3.org/2000/svg"
width="1158.942"
height="143.376"
viewBox="0 0 1158.942 143.376"
>
<g :style="`color: ${colors.green}`">
<!-- ... -->
</g>
<!-- numerous other g elements to select from here as well -->
</svg>
</div>
</template>