This project was bootstrapped with Create Contentful App.
In the project directory, you can run:
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.
Demo: https://www.loom.com/share/d5bab33027f1460487f3899e551c597e
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!
- npx @contentful/create-contentful-app create-definition
- Goto contentful/Apps/Manage apps
- Config new apps and install this apps into specific space.
- Create new rich text field which named "body"
- Create new JSON field which stores the reading time and set new application in the appearance.
If you udatae the body field in the editor, then it will caculate the reading times and updates the JSON field. Live App URL: https://reading-time-rich-text-contentful.netlify.app You can use this app directly.
Read more and check out the video on how to use the CLI.
Create Contentful App uses Create React App. You can learn more in the Create React App documentation and how to further customize your app.