Skip to content

guo-jianqiang/pull-iconfont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pull-iconfont

Pull the iconfont file to the local in one step

install

npm isntall @rainbow_deer/pull-iconfont -D
// or
yarn add @rainbow_deer/pull-iconfont -D

Usage

Create a new icon.config.js in the root directory

const path = require('path')
module.exports = {
  ctoken: '*', // iconfont token
  dest: path.join(__dirname, './resources/browser/iconfont'), //Storage path
  fileName: 'font.css', // file name
  pid: '1334360', // project id
  cookie: '*'
}

run

pull-iconfont

About

Pull the iocnfont file to the local in one step

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published