Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (33 loc) · 719 Bytes

README.md

File metadata and controls

48 lines (33 loc) · 719 Bytes

material-ico-fallback-loader for webpack

Replace Material icons version 1 key words to ligature

Example:

<i class="material-icons">android</i>

will be replaced with

<i class="material-icons">&#xE859</i>

How use

npm i -D material-ico-fallback-loader
// webpack.config.js
module.exports = {
  // ...
  module: {
    rules: [
      {
        test: /.html$/,
        loader: 'material-ico-fallback-loader'
      }
    ]
  }
};

Now is old https://material.io/icons/

but you can download them from here

demo/src/assets/iconfont