Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.
/ antd-iconfont Public archive

For use Ant Design's iconfont without alicdn.

License

Notifications You must be signed in to change notification settings

whtsky/antd-iconfont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For use Ant Design's iconfont without alicdn.

Install

yarn add @whtsky/antd-iconfont

Usage

In your webpack config:

{
  test: /\.less$/,
  loader: [
    {
      loader: require.resolve('css-loader'),
    },
    {
      loader: require.resolve('less-loader'),
      options: {
        modifyVars: {
          '@icon-url':'"~@whtsky/antd-iconfont/iconfont"'
        },
        javascriptEnabled: true,
      },
    },
  ]
}

About

For use Ant Design's iconfont without alicdn.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published