petertait / react-datocms-starter

Boilerplate for a React based DatoCMS project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React DatoCMS Starter

Simple boilerplate project for a React website linked to a DatoCMS instance.

Initial installation

You only need to do these three installations once per machine:
  1. Install Node.

  2. Install Yarn: brew install yarn

  3. Install project dependencies. (In project folder): yarn

Project commands

yarn start

This runs the app in development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.

yarn 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.
The app is ready to be deployed!

About

Boilerplate for a React based DatoCMS project


Languages

Language:JavaScript 96.3%Language:HTML 3.7%