4.0.3 • Published 6 years ago
netlify-cms-widget-material-icons v4.0.3
netlify-cms-widget-material-icons
Material Icons widget for Netlify CMS.
Install and Usage
As an npm package:
npm install netlify-cms-widget-material-icons
// css
@import url("https://fonts.googleapis.com/css?family=Material+Icons");
// js
import CMS from "netlify-cms";
import * as MaterialIconsWidget from "netlify-cms-widget-material-icons";
CMS.registerWidget(
"material-icons",
MaterialIconsWidget.Control,
MaterialIconsWidget.Preview
);
CMS.registerPreviewStyle(
"https://fonts.googleapis.com/css?family=Material+Icons"
);
Add to your config.yml:
fields:
- name: <fieldname>
label: <fieldlabel>
widget: material-icons
Example
see public
directory
4.0.3
6 years ago
4.0.2
6 years ago
4.0.1
6 years ago
4.0.0
6 years ago
3.0.1
6 years ago
3.0.0
6 years ago
2.2.1
6 years ago
2.2.0
6 years ago
2.2.0-alpha.c8c7f2ad
6 years ago
2.1.1
6 years ago
2.1.0
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.2.0
6 years ago
1.1.0
6 years ago
1.0.0
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago