I use Xiaobai and dvi-cli to develop. I have checked most of the tutorials on local deployment icons on the Internet, but none of them are available. Ask for divine instruction!
Picture description
I use Xiaobai and dvi-cli to develop. I have checked most of the tutorials on local deployment icons on the Internet, but none of them are available. Ask for divine instruction!
Picture description
download good font resources
app.css add
@font-face {font-family: "anticon";
src: url('./static/fonts/iconfont.eot'); /* IE9*/
src: url('./static/fonts/iconfont.eot-sharpiefix') format('embedded-opentype'), /* IE6-IE8 */
url('./static/fonts/iconfont.woff') format('woff'), /* chrome, firefox */
url('./static/fonts/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('./static/fonts/iconfont.svg-sharpanticon') format('svg'); /* iOS 4.1- */
}
.anticon {
font-family:"anticon" !important;
font-size:16px;
font-style:normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
the path can be replaced according to your own path