To get better understanding of this project and how it works, read our Add a headless CMS to Nuxt in 5 minutes article.
Visit our technology Nuxt Technology Hub for more tutorials and videos how to use Storyblok together with Vue.js and Nuxt.
- Create new Space in Storyblok
- Obtain Preview Token from the Settings of the Space.
- Replace the
accessToken
value innuxt.config.js
file with your Preview Token. - Your Nuxt.js project can be started and will consume data from your Storyblok Space.
For more advanced article on how to build multilanguage website with Storyblok and Nuxt.js, check our The Complete Guide to Build a Full Blown Multilanguage Website with Nuxt.js.
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, check out Nuxt.js docs.