【文件属性】:
文件名称:stenciljs-icons-example:在Stenciljs中使用FontAwesome,Office UI Fabric和Material -icons
文件大小:6.41MB
文件格式:ZIP
更新时间:2021-02-04 06:52:26
icons web-components office-ui-fabric font-awesome icon-font
在模具中使用图标
演示如何在stenciljs中使用图标库
入门
要尝试此演示,请将此存储库克隆到新目录:
git clone https://github.com/drygnet/stenciljs-icons-example.git
cd stenciljs-icons-example
git remote rm origin
并运行:
npm install
npm start
要构建用于生产的组件,请运行:
npm run build
三种方法
字体真棒
...使用下载的all.min.css ,它希望字体文件位于服务器上的webfonts-目录中,查看stencil.c