@ztwx/webfont

0.0.2 • Public • Published
webFont ---

Generate webfont through by web

Install

npm install @ztwx/webfont --save

Running

npx cmWebFont start

Configuration

The initial run will generate .cm-webfontrc in the root directory of your project.

cm-webfontrc file

  • outputDir The Directory where CSS and font files are stored
  • imgDir Your image storage address
  • fontName Font file name
  • fontClassName
  • formats Font formats
  • base64 boolean; for mini program. The base64 content of the font is embedded in the CSS file.

/@ztwx/webfont/

    Package Sidebar

    Install

    npm i @ztwx/webfont

    Weekly Downloads

    5

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    152 kB

    Total Files

    69

    Last publish

    Collaborators

    • buildstrap
    • hecaiming
    • echo_hx
    • lousicong
    • zhantewei