The vue3-sfc-loader strips classes from the template/html. I believe this is due to the loaders it utilizes since they do some minification and trimming, which removes some stuff from the Vue single file components in an attempt to clean it up and make it more efficient.
Without classes the style/CSS cannot be applied to the template, there are a few possible solutions to this:
From my observations classes are removed but IDs are not, so all classes can be replaced with IDs.
A function could be made that utilizes something like jquery to set the style of specific elements.
A more extreme case would be integrating the vue3-sfc-loader and modifying it to achieve the desired results.
Additional notes:
If the class existed within the main UI bundle it is unaffected and will not be stripped/removed.
The vue3-sfc-loader strips classes from the template/html. I believe this is due to the loaders it utilizes since they do some minification and trimming, which removes some stuff from the Vue single file components in an attempt to clean it up and make it more efficient.
Without classes the style/CSS cannot be applied to the template, there are a few possible solutions to this:
Additional notes: