You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround is to include at least one icon from the custom collection in css mode like so:
<template>
<Iconname="custom1:nuxt-v3"size="64"mode="svg"
/>
<!-- WORKAROUND: load at least one icon in css mode to make svg mode work. It doesn't even have to be the same icon-->
<Iconstyle="display: none;"name="custom1:nuxt-v1"size="64"mode="css"
/>
</template>
It doesn't matter wether you specify svg via
app.config.ts
or viamode
prop of theIcon
component.Reproduction branch: https://github.com/zigomir/icon/tree/local-fs-svg-issue-reproduction and diff main...zigomir:icon:local-fs-svg-issue-reproduction
Workaround is to include at least one icon from the custom collection in
css
mode like so:This might also be related to #212
The text was updated successfully, but these errors were encountered: