Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Create a i18n friendly Landing website with Storyblok, NextJS and Typescript - Full Step by step tutorial
Storyblok Nextjs Guide is a boilerplate and step-by-step tutorial that creates an internationalization-ready landing website using Next.js, Storyblok, and TypeScript.
Storyblok Nextjs Guide is an open-source repository that demonstrates how to build an i18n-friendly landing page with Next.js and the Storyblok headless CMS. It provides a starting template with the necessary configuration, including environment variables for the Storyblok access token and secret key. The project is built on the Next.js framework, uses TypeScript for type safety, and is deployable to Vercel through a one-click button. The repository also functions as a full tutorial, guiding users through the setup and deployment process.
First, rename the env.local file to .env.local and add your Storyblok access token (available under your Storyblok settings) and a secret key that only you and your application know. Then run npm run dev or yarn dev to start the development server at http://localhost:3000. Edit pages/index.js to modify the home page; the page auto-updates on save. For production, deploy via the Vercel button or follow the Next.js deployment documentation.
Yes. Storyblok provides the content management backend, and you must supply an access token. If you don't have an account, you need to create one and retrieve the token from the settings.
The repository includes a sample env.local file. Copy it to .env.local and fill in your Storyblok access token and a secret key you define. These keep your CMS credentials out of the codebase.
Yes, the template is described as "i18n friendly," meaning it is prepared for internationalization. Storyblok supports localized content, and the Next.js structure accommodates language routing.
Use the "Deploy with Vercel" button at the top of the repository. It clones the project, runs it on Vercel, and prompts you to configure the environment variables.
