I manage to implement gatsby-plugin-react-svg and make it work, but after that I saw that all the library icons are bye bye.
If I add more SVG in my svg folder it's okay, but all the icons from Boxicon library are gone.
I would like to use the icons library and my custom svg.
This is how my gatsby-config.js file looks like
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /svg/,
}
}
},
In JSX I use the icon like this:
<i className="bx bxs-user-circle"/>
But now is showing me a small square