Skip to content

marianoa/contentful-json-viewer

Repository files navigation

Contentful JSON Viewer

Install to Contentful

This app adds a new tab on the entry aditor allowing you to visualize the JSON payload for the current entry. This object is the result of calling the space.getEntry(entryId) App framework method on the entry.

It leverages an open source library called react-json-view to format the JSON object in a user-friendly manner.

image

Installation

When creating the App definition within the Contentful Org, make sure to select the following app locations: image

Available Scripts

In the project directory, you can run:

npm start

Creates or updates your app definition in Contentful, and runs the app in development mode. Open your app to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published