This is a Hello World example project built with Storyblok and Next.js.
To get better understanding of this project and how it works, read our Getting Started guide.
- Create a new Space in Storyblok
- Obtain a Preview Token from the Settings of the Space.
- Replace the
accessTokenvalue inindex.jsfile with your Preview Token. - You can start a Dev Server with your React project, and it will consume data from your Storyblok Space.
To learn more about React and Storyblok, take a look at the following resources:
# to run in developer mode
$ npm run start # or yarn start # to build the project
$ npm run build # or yarn buildThe easiest way to deploy your React app is to use the Vercel Platform from the creators of Next.js.