As an npm package:
npm install --save netlify-cms-widget-tab
import { TabControl, TabPreview } from 'netlify-cms-widget-tab'
CMS.registerWidget('tab', TabControl, TabPreview)
Via script
tag:
<script src="https://unpkg.com/netlify-cms-widget-tab@^1.0.0"></script>
<script>
CMS.registerWidget('tab', TabControl, TabPreview)
</script>
Add to your Netlify CMS configuration:
fields:
- { name: <fieldname>, label: <fieldlabel>, widget: <name> }
Explain any custom configuration steps here, or omit the section if there are none.
For help with this widget, open an issue or ask the Netlify CMS community in Gitter.