Materialdesign: Nuxt.js

Created on 13 Jun 2019  路  5Comments  路  Source: Templarian/MaterialDesign

Hi there, how could I integrate the MDI with Nuxt.js?
Thanks

Documentation Question

Most helpful comment

1- Install MDI package npm install @mdi/font -D
2- In nuxt.config.js file add @mdi/font/css/materialdesignicons.min.css in your CSS configration, add iconfont: 'mdi' in vuetify module configuration
3- You can now use mdi-** icons in your *.vue files

All 5 comments

Moving this over to the main repo. No one monitors this repo.

@m-ibrahim17 Once you do figure out how be sure to reach out. We do like to document most frameworks. The smaller ones we'll need help form the community.

1- Install MDI package npm install @mdi/font -D
2- In nuxt.config.js file add @mdi/font/css/materialdesignicons.min.css in your CSS configration, add iconfont: 'mdi' in vuetify module configuration
3- You can now use mdi-** icons in your *.vue files

@m-ibrahim17 We don't really recommend using the webfont if you're using a framework that can use @mdi/js. http://dev.materialdesignicons.com/guide/webfont-alternatives

This issue is old and we don't recommend using the webfont anymore, so unfortunately those instructions won't be useful for us at this time.

If you would like to share how you are using @mdi/js with Nuxt.js, we'd be happy to include those in our documentation.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielhickman picture danielhickman  路  3Comments

Templarian picture Templarian  路  3Comments

alvaroc1 picture alvaroc1  路  3Comments

puytr picture puytr  路  3Comments

jonnyborg picture jonnyborg  路  3Comments