Open SNR99 opened 2 years ago
yes I have the same error when I import in _app.js
Using css import the link,
then you can using the font tag import your icon
e.g.
@import url("https://unpkg.com/boxicons@2.1.2/css/boxicons.min.css");
<i class='bx bxs-color'></i>
Even after a year, this error still occurs. But currently I'm using react-icons to add boxicon, for me it's better than using cdn.
It seems like boxicons are not supported on NEXTJS I get the following message error - ReferenceError: window is not defined