安装
npm i material-design-icons-iconfont
配置scss文件
在scss文件中配置
$material-design-icons-font-directory-path: "~material-design-icons-iconfont/dist/fonts/";
@import "~material-design-icons-iconfont/src/material-design-icons";
npm i material-design-icons-iconfont
在scss文件中配置
$material-design-icons-font-directory-path: "~material-design-icons-iconfont/dist/fonts/";
@import "~material-design-icons-iconfont/src/material-design-icons";
本文标题:npm引入material-design-icons-iconf
本文链接:https://www.haomeiwen.com/subject/ghlpbctx.html
网友评论