JavaScript Congress • Nov 24, 2021

Fast & Furious - Going headless with Nuxt.js!

Samuel Snopko

Tired of monolithic CMS constraints? Bridge the gap between developer freedom and marketer usability. Learn to build a lightning-fast headless architecture using Nuxt.js and Storyblok.

Pause
Mute Enter Fullscreen
#1 about 3 min

Scaffolding a new Nuxt application from scratch

Initializing a basic Nuxt project using the command line generator establishes the frontend foundation.

#2 about 4 min

Initializing a headless content workspace in Storyblok

Creating a new space provides a centralized environment for structuring and managing raw content.

#3 about 3 min

Connecting Nuxt to the Storyblok API module

Integrating the official module and access token allows the application to authenticate and pull content securely.

#4 about 3 min

Configuring local preview inside the visual editor

Pointing the CMS environment to a localhost server enables developers to view exact rendering behavior during development.

#5 about 3 min

Defining content types and nestable atomic components

Structuring data into nestable block components allows for deep architectural flexibility and atomic design patterns.

#6 about 4 min

Mapping headless components to dynamic Vue components

Using dynamic rendering logic maps incoming JSON block structures directly to specific frontend Vue components.

#7 about 5 min

Fetching page content using the asyncData hook

Requesting JSON payloads during the asynchronous lifecycle pulls actual CMS data into the frontend markup.

#8 about 2 min

Enabling real-time updates with the Storyblok Bridge

Listening to editor events dynamically updates the interface without requiring explicit page reloads.

#9 about 4 min

Building a custom article type with custom fields

Designing custom field schemas for articles accommodates unique data types like rich text and optimized images.

#10 about 5 min

Resolving nested content relations for featured articles

Using relational query parameters fetches the full content payload of referenced articles instead of just their unique IDs.

#11 about 3 min

Exploring upcoming interface features in Storyblok version two

Upcoming workflow enhancements and streamlined interface elements offer tighter collaboration controls for content teams.

#12 about 7 min

Addressing GraphQL, SEO, and headless e-commerce integrations

Strategies for static site generation resolve SEO concerns while management APIs allow seamless e-commerce integration.

Matching moments

4:05 min

Core features of the Nuxt meta-framework for Vue

Chris Heilmann Chris Heilmann +2 · LIVE

2:32 min

Introduction to Nuxt 3 and its core framework capabilities

Alexander Lichter · World Congress 2023

1:45 min

Implementing server-rendered Vue apps using the Nuxt framework

Marius Obert Marius Obert · World Congress 2022

2:32 min

Introduction to modern web development with Nuxt two

Alexander Lichter · JS Congress

43 sec

Leveraging the JAMstack concept for content-driven web applications

Sasha Shynkevich · LIVE

11:28 min

Managing application content with a headless GraphQL CMS

Dávid Lévai · LIVE