Tuesday, November 15, 2022

[FIXED] How to use font icons in offline?

Issue

I'm currently using vuetify in my laravel app and it's working fine.

The vuetify is using material-design-icons based on this link, below codes they use these two links:

<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@5.x/css/materialdesignicons.min.css" rel="stylesheet">

Now my question is how to do this in an offline way(just the font icons)? Is there an npm that we could use, and how to? Please help guys.


Solution

You can install through npm using npm install @mdi/font -D. Check for more info Install Material Design Icons



Answered By - Senthurkumaran
Answer Checked By - Timothy Miller (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.