Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.28 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.28 KB

contentful-extension-tables

An ui-extension to add an editable table to handle tabular data as a Contentful UI Extension.

Based on https://github.com/AnalogMemory/contentful-tables

Installation

  • In the contentful web app to to Settings > Extensions
  • Click the Add extension
  • Choose Install from Github
  • Paste the link to this repository's extensions.json file
  • Confirm selection ("Save")

Note This extensions is targeted at the "JSON" field-type.

Configure

Create a configuration file with your credentials for Contentful.

cp .env.example .env

Open .env in a editor of your liking and add your Contentful space ID, and management token. Learn how to obtain a token.

Load environment variables

source .env

Create

npm run setup

Create task will register the extension in your space on Contentful.

Update

npm run update

Update task will upload the extension to your space on Contentful.

License

Copyright © Contentful Developer Relations

Licensed under the MIT license.