netlify-cms-widget-ecomplus-collections

A widget to render ecomplus-api collections at Netlify CMS.

Usage no npm install needed!

<script type="module">
  import netlifyCmsWidgetEcomplusCollections from 'https://cdn.skypack.dev/netlify-cms-widget-ecomplus-collections';
</script>

README

Install

As an npm package:

npm install --save netlify-cms-widget-ecomplus-collections
import youtube from "netlify-cms-widget-ecomplus-collections";

CMS.registerWidget("collections", collectionsControl, collectionsPreview);

Via script tag:

<script src="https://unpkg.com/netlify-cms-widget-ecomplus-collections@^0.0.1"></script>

<script>
  CMS.registerWidget("collections", collectionsControl, collectionsPreview);
</script>

How to use

Add to your Netlify CMS configuration:

    fields:
      - { name: <fieldname>, label: <fieldlabel>, widget: collections }