So, that all works as intended. What I'd like to do, though is to import my whole prefix e.g.
import { cus } from './Icons/Icons' . Importing them all individually gets a bit verbose, and adds a step to adding icons to our in-house lib.
What I'm missing is that the font libs have a dependency that defines the prefixes.
Is there a way to do this without forking the project?
Electron/Vue project. I've worked out how to add my own SVG:
Added a couple SVG icons, following the format from the library:
<font-awesome-icon :icon="['cus','rolls-auto']"/>
So, that all works as intended. What I'd like to do, though is to import my whole prefix e.g.
import { cus } from './Icons/Icons'
. Importing them all individually gets a bit verbose, and adds a step to adding icons to our in-house lib.What I'm missing is that the font libs have a dependency that defines the prefixes.
Is there a way to do this without forking the project?