#create a .env file in the root folder and add following line:
$ STORYBLOK_API="<api-key>"
#replace <api-key> with your preview-key from storyblok
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
An easy to start boilerplate template for Nuxt2 and Storyblok. It implements normal bloks and images as example.
Packages included and working:
- Nuxt 2 with SSR
- Storyblok Nuxt
- Tailwind CSS with Typograph
- Storyblok Richtext-Renderer
- Nuxt Fontawesome