DEV Community

Muhamad Jamil
Muhamad Jamil

Posted on

1 1

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more