create-demo 0.0.17
Install from the command line:
Learn more about npm packages
$ npm install @storyblok/create-demo@0.0.17
Install via package.json:
"@storyblok/create-demo": "0.0.17"
About this version
A CLI to quickly start a project with your favourite framework, already set up with Storyblok, Headless CMS.
Supports Next.js, Nuxt.js (2 & 3), Gatsby.js, Vue.js, React.js, Remix and Svelte
- Signup at https://app.storyblok.com/
- Create a new space and retrieve the space preview token under Space -> Settings -> Api Keys
- Execute follwing command with the space preview access token:
npx @storyblok/create-demo --key YOUR_STORYBLOK_PREVIEW_TOKEN
cd my-app
npm i && npm run dev
- Open the Storyblok editor and directly edit your content locally: http://localhost:3000/editor.html
You can pass the --region
parameter to scaffold with a different space region
npx @storyblok/create-demo --key YOUR_STORYBLOK_PREVIEW_TOKEN --region us-east-1
cd my-app
npm i && npm run dev
You can also start the CLI locally from this repository
npm i
./bin/run --key YOUR_STORYBLOK_PREVIEW_TOKEN