material-iconfonts
v3.0.1
Published
Material design icons from Google
Downloads
5
Readme
Material icons
Material design icons are the official icon set from Google that are designed under the material design guidelines.
Getting start
The recommended way to use the Material Icons font is by linking to the web font hosted on Google Fonts:
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
Read more in our full usage guide: http://google.github.io/material-design-icons/#icon-font-for-the-web
但是,很遗憾,中国的网络环境无法打开。
原来的 material-design-icons 极大(~60MB), 而我们平时项目中只用到了其中的
iconfonts目录,所以我将这个目录单独放一份到npm,内容没做任何的修改。
Usage
npm i material-iconfonts
如果你也和我一样用vue2 + webpack, 可以这么引入:
import 'material-iconfonts/material-icons.css'
License
We have made these icons available for you to incorporate them into your products under the Apache License Version 2.0. Feel free to remix and re-share these icons and documentation in your products. We'd love attribution in your app's about screen, but it's not required. The only thing we ask is that you not re-sell these icons.