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

avil13/material-ico-fallback-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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