Pictogrammers / vue-icon

A Vue component to render an SVG path icon.
MIT License
26 stars 11 forks source link

fixed style build error #5

Closed durecat closed 3 years ago

durecat commented 3 years ago

Can we add lang="scss" into <style>? While compiling my code with vue-icon, I failed with this error message.

You may need an additional loader to handle the result of these loaders.
|
> svg {
|   transform: rotate(var(--r, 0deg)) scale(var(--sx, 1), var(--sy, 1));
| }
JamesCoyle commented 3 years ago

That is vanilla CSS so lang="scss" is unnecessary. I'm not sure what the issue you're having is but this component is intended to have as few dependencies as possible so I don't want to add scss.