6.0.0-beta.27 • Published 5 years ago

react-static-example-contentful v6.0.0-beta.27

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

React-Static - Contentful CMS Example

React-Static Basic template with added configuration for use with Contentful CMS.

Setting up Contentful CMS

Configure a starter site in Contentful by following the instructions below.

  1. After logging in / signing up for your Contentful account, Add a new space

  2. When adding a name under the "Space details" step, choose "Create an example space...". This repo is set up to use the example blog post content and model generated by Contentful, so choose the "Blog" tab in the lower part of the dialog box the click "Procced to confirmation" to create the space

  3. In the "Space Home" tab, click on the "Use the API" button

  4. Copy the values for "Space ID" and "Content Delivery API - access token" to the src/contentful/config.js file

Run yarn then yarn start and you'll be able to see it all running at http://localhost:3000