Skip to content

qinmudi/fis-command-iconfont-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fis-iconfont-demo


生成字体

命令行方式调用

fis3 iconfont -n wiifont -s ./src/resource/svgs -d ./dist/resource/fonts -c ./dist -m ./dist

命令行方式可以复写 fis-conf.js 的配置,如果不加任何参数,则完全读取 fis-conf.js 的配置

fis3 iconfont

fis-conf.js 配置

fis.config.set("iconfont", {
    'src': '/src/resource/svgs', //图标目录
    'dest': '/src/resource/fonts', //产出字体目录
    'fontname': 'wiifont', //产出字体名称
    'order': 'name', //name或者time //图标按名称还是按修改时间排序,默认按名称排序
    'destCss': './dist', //css 生成的路径,
    'destHtml': './dist' //html 生成的路径
});

About

fis-command-iconfont的demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published