Closed plweil closed 6 years ago
The icons are not being displayed. Using this script, I've got the compiled svgs in src/compiled-icons:
"generate-icons": "vsvg -s ./svg-icons -t ./src/compiled-icons"
When viewed in DevTools, the svg-icon component's iconData computed property is null, which suggests that it doesn't know where the icons are. Do I have to explicitly import each individual icon (or the entire icon directory)?
You should import generated icons. Please view: https://github.com/MMF-FE/vue-svgicon#use-generated-icon
The icons are not being displayed. Using this script, I've got the compiled svgs in src/compiled-icons:
When viewed in DevTools, the svg-icon component's iconData computed property is null, which suggests that it doesn't know where the icons are. Do I have to explicitly import each individual icon (or the entire icon directory)?