Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 534 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 534 Bytes

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