[Vuejs]-VueJS โ€“ Bootstrap icons: Failed to decode downloaded font, invalid sfntVersion

2๐Ÿ‘

โœ…

Iโ€™ve found the issue. It was my public folder that did not contain the fonts with the right path. I added the fonts to the folder with the path as specified in the error and all things works now.

P/S: This might be a temporary workaround, for if there are multiple icon packs and each requires a different font path, the build folder might get overloaded with tons of fonts folder. Would any one suggest a way to manage this problem?

๐Ÿ‘คBrother Eye

1๐Ÿ‘

I do not exactly know the solution to your problem but I did a little research and found this Link

There are numerous solutions on it, I hope one of those might help you.

Leave a comment