DEV Community

Muhamad Jamil
Muhamad Jamil

Posted on

Using boxicons in Vue app, installing with npm

  1. install the boxicons using npm
    npm install boxicons --save

  2. if you want to use it as a font, you need to import it in your main.js file, thanks to this github issue

use it as a font import "boxicons/css/boxicons.min.css";
use it as a web-component import "boxicons/dist/boxicons.js";

for usage, checkout the documentation https://boxicons.com/usage

if you have another way to use it, feel free to discuss

thanks for reading

Top comments (0)