Skip to content

storyblok/storyblok-react-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Storyblok Boilerplate

This repository is a React Storyblok starter template used in following 5 min tutorial

Requirements

To use this project you have to have a Storyblok account. If you don't have one yet you can register at Storyblok, it's free.

How to get started

You can read how to use the React SDK here

1. Clone the repo

  $ git clone https://github.com/storyblok/storyblok-react-boilerplate

2. Install the dependencies

  $ npm install # or yarn

3. Add the Access Token

Create a new empty space and exchange the preview token of your new space with the accessToken in index.js.

4. Run your project

Set the preview domain in Storyblok to http://localhost:3000/

  # to run in developer mode
  $ npm run start # or yarn start
 # to build the project
 $ npm run build # or yarn build

Resources

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published