Skip to content

fyddaben/iconfontLocal

Repository files navigation

deepwise-iconfont

iconfont project

配置说明

// icon 源文件目录 
  config.iconSourceDir = '/Users/iconfontall/';

  // iconfont 最终生成的目录,需要在这里起一个静态服务,指向这个目录
  config.iconDistDir = '/Users/iconfonthtml/'

  // iconDistDir起一个静态服务的访问地址
  config.iconUrl = 'http://127.0.0.1:4004/'

注意问题

  • 针对有很多svg,转化后,阴影等图像显示不对
  • 需要用sketch,选择,路径合并,再导出

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

About

模仿 iconfont ,本地部署项目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published