An open API service indexing awesome lists of open source software.

https://github.com/jaclyntan/netlify-cms-widget-rating

Add a rating widget to NetlifyCMS
https://github.com/jaclyntan/netlify-cms-widget-rating

netlify-cms range range-slider

Last synced: 6 months ago
JSON representation

Add a rating widget to NetlifyCMS

Awesome Lists containing this project

README

          

# netlify-cms-widget-rating

[Check out a demo!](https://netlify-cms-widget-rating.netlify.app)

Add a rating widget to Netlify CMS.

Features a range slider with 0.5 step value between 0-10.

## How to use

Add to your Netlify CMS configuration:
```html




Content Manager






const ratingWidget = window.NetlifyCmsWidgetRating;
CMS.registerWidget('rating', ratingWidget.control, ratingWidget.preview);

```

```yaml
fields:
- { name: Rating, label: Rate, widget: rating }
```

## Commands

Develop:

```shell
npm start
```

Build:
```shell
npm run build
```