dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
7 years ago | |
|---|---|---|
| .. | ||
| .npmignore | 7 years ago | |
| LICENSE | 7 years ago | |
| README.md | 7 years ago | |
| index.js | 7 years ago | |
| material-design-icons.css | 7 years ago | |
| package.json | 7 years ago | |
README.md
webpack-material-design-icons
Webpack Material Design Icons Font from Material Icons Guide - Setup Method 2. Self hosting
Install
npm install --save-dev webpack-material-design-icons
Usage
Just add webpack-material-design-icons to entry.vendors and handle the png, woff, ttf etc files in webpack.config.js
module.exports = {
entry: {
vendors: [
"webpack-material-design-icons"
]
},
module: {
loaders: [
{ test: /\.(jpe?g|png|gif|svg|eot|woff|ttf|svg|woff2)$/, loader: "file?name=[name].[ext]" }
]
}
};
Of course you will need to configure how to handle CSS files as well.
TODO
- Add working example.