Frisque-nuxt-storyblok - A basic framework for integrating StoryBlok with Nuxt

Overview

๐ŸŒบ Frisque StoryBlok

Welcome to the Frisque StoryBlok starter kit! This is currently a WIP project that aims to simplify the setup of connecting NuxtJS to StoryBlok. It also aims to provide an opinionated framework and directory structure to get you going immediately.

This project contains a few default configurations out of the box such as TailwindCSS, Linting (ESLint, StyleLint, Prettier, CommitLint), Testing suite using JEST, and some NPM scripts to make development a breeze.

Some key directories and files to take a look at would be the /components directory as well as the /pages/_.vue file. The latter sets up the view and loads the proper components from the /components directory.

๐Ÿ““ Table of contents

โœ… System Requirements

  • Unix-like OS (windows support is limited atm)
  • Node Version 14.18.3 (fermium)
  • NPM Version >= 6.14.5

๐Ÿ’ป Build Setup

To get started create a .env file in the root of this project with the following information

STORYBLOK_ACCESS_TOKEN="Your Access Token Here"

For more information on how to create your StoryBlok Access Token click here.

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

# create a StoryBlok component
$ npm run create-component

# Run Linters (ESLint, StyleLint, PrettierLint)
$ npm run lint
$ npm run lint:js
$ npm run lint:style
$ npm run lint:prettier

# Run the Lint Fixer
$ npm run lintfix

# Prepare the githooks
$ npm run prepare

๐Ÿ“‚ Special Directories

You can create the following extra directories, some of which have special behaviors. Only pages is required; you can delete them if you don't want to use their functionality.

๐Ÿ“ assets

The assets directory contains your uncompiled assets such as Stylus or Sass files, images, or fonts.

More information about the usage of this directory in the documentation.

๐Ÿ“ components

The components directory contains your Vue.js components. Components make up the different parts of your page and can be reused and imported into your pages, layouts and even other components.

More information about the usage of this directory in the documentation.

๐Ÿ“ layouts

Layouts are a great help when you want to change the look and feel of your Nuxt app, whether you want to include a sidebar or have distinct layouts for mobile and desktop.

More information about the usage of this directory in the documentation.

๐Ÿ“ pages

This directory contains your application views and routes. Nuxt will read all the *.vue files inside this directory and setup Vue Router automatically.

More information about the usage of this directory in the documentation.

๐Ÿ“ plugins

The plugins directory contains JavaScript plugins that you want to run before instantiating the root Vue.js Application. This is the place to add Vue plugins and to inject functions or constants. Every time you need to use Vue.use(), you should create a file in plugins/ and add its path to plugins in nuxt.config.js.

More information about the usage of this directory in the documentation.

๐Ÿ“ static

This directory contains your static files. Each file inside this directory is mapped to /.

Example: /static/robots.txt is mapped as /robots.txt.

More information about the usage of this directory in the documentation.

๐Ÿ“ store

This directory contains your Vuex store files. Creating a file in this directory automatically activates Vuex.

More information about the usage of this directory in the documentation.

๐Ÿ“š Resources

StoryBlok

To learn how to develop with StoryBlok and NuxtJS follow the resources below to get started.

NuxtJS

NuxtJS is an innovative Vue Framework packaged with plenty of features to boost developer productivity and the end user experience.

You might also like...
English-quiz-nuxt - An english quiz using nuxt

english-quiz-nuxt Live demo here Build Setup # install dependencies $ yarn insta

Netlify โค๏ธ Nuxt.js: a simple template to give you the code you need to use Netlify features with Nuxt.
Netlify โค๏ธ Nuxt.js: a simple template to give you the code you need to use Netlify features with Nuxt.

Nuxt Toolbox Template This is a NuxtJS v2 project. It is a reference on how to integrate commonly used features within Netlify for Nuxt.js. Build Setu

A lightweight Nuxt template to build a Markdown driven website. Powered by Nuxt Content, TailwindCSS and Iconify.
A lightweight Nuxt template to build a Markdown driven website. Powered by Nuxt Content, TailwindCSS and Iconify.

A lightweight Nuxt template to build a Markdown driven website. Powered by Nuxt Content, TailwindCSS and Iconify.

WordPress module for Nuxt.js with full support for SSR and Nuxt.js PWA module.

WordPress module for Nuxt.js with full support for SSR and Nuxt.js PWA module.

๐Ÿ–ผPortfolio built with Nuxt and Nuxt Content

๐Ÿ–ผPortfolio built with Nuxt and Nuxt Content

Kirby Nuxt Starter Kit - Kirby's sample site โ€“ but rewritten headless with Nuxt 3

Kirby Nuxt Starter Kit Kirby's sample site โ€“ but rewritten headless with Nuxt 3! Explore the kit live ยป Kirby Nuxt Starterkit This repository is a por

Nuxt + CoreUI Free Vue Bootstrap Admin TemplateNuxt + CoreUI Free Vue Bootstrap Admin Template
Nuxt + CoreUI Free Vue Bootstrap Admin TemplateNuxt + CoreUI Free Vue Bootstrap Admin Template

Nuxt + CoreUI Free Vue Bootstrap Admin Template Nuxt + CoreUI Free Vue Bootstrap Admin Template Description Nuxt + CoreUI Free Vue Bootstrap Admin Tem

Check trending anime based on anitrendz.net site. Built using nuxt

animetrend Demo: here Build Setup # install dependencies $ npm install # serve with hot reload at localhost:3000 $ npm run dev # build for productio

VueTrese: a VueDose clone written in Nuxt 3
VueTrese: a VueDose clone written in Nuxt 3

VueTrese, a VueDose clone written in Nuxt 3. ๐Ÿš€ Live Demo https://vue-trese.vercel.app/ ๐Ÿ”ฅ Usage The project comes with @storyblok/[email protected], the Stor

Owner
Sierra Layla Vithica
Hi there! I'm Sierra - A Web Developer and Software Engineer based in the Greater Seattle Area, WA.
Sierra Layla Vithica
Example Jamstack app with Nuxt 3, Content, and Storyblok deployed to Vercel

Nuxt 3 Minimal Starter Look at the nuxt 3 documentation to learn more. Setup Make sure to install the dependencies: # yarn yarn install # npm npm ins

Jakub Andrzejewski 2 Nov 4, 2022
Build a full-blown jamstack blog with Nuxt 3, Storyblok and Tailwind CSS demo repo

Nuxt 3 Minimal Starter Look at the nuxt 3 documentation to learn more. Setup Make sure to install the dependencies: # yarn yarn install # npm npm ins

Dawntraoz Storyblok 6 Nov 17, 2022
Nuxt basic - Simple Nuxt.js project

nuxt_basic Build Setup # install dependencies $ npm install # serve with hot reload at localhost:3000 $ npm run dev # build for production and launc

null 2 Oct 20, 2022
A basic crud built with nuxt.

nuxt-app Build Setup # install dependencies $ yarn install # serve with hot reload at localhost:3000 $ yarn dev # build for production and launch se

Humayon Zafar 0 Jan 25, 2022
A convenient replacement for component when using nuxt-i18n

nuxt-i18n-link A convenient replacement for <nuxt-link> component when using nuxt-i18n. It is simply a replacement for this exact code: <nuxt-link :to

iBlueDust 1 May 25, 2021
A webpack loader i18n solution for Vue (Nuxt) with auto generated keysA webpack loader i18n solution for Vue (Nuxt) with auto generated keys

vue-i18n-loader - another webpack loader i18n solution for Vue (Nuxt) with auto generated keys. Currently under development, pull requests and suggest

BitApp 0 Feb 7, 2022
This is nuxt invoice app using nuxt.js and firebase

Nuxt Invoice App Build Setup # install dependencies $ npm install # serve with hot reload at localhost:3000 $ npm run dev # build for production and

Moein Salari 8 Dec 20, 2022
nuxt-fullpage is a nuxt module for creating fullscreen page scroll fast and simple.

Nuxt fullpage Nuxt module for creating fullscreen page scroll fast and simple. Demo online Table of contents Installation Usage Options Contributing I

Open Source Afghanistan 16 Dec 30, 2022
A simple nuxt renderless component wrapper around nuxt fetch capabilities

Nuxt Fetch Component A simple nuxt renderless component wrapper around nuxt fetc

Mathieu Marteau 6 Apr 12, 2022
Fcl-nuxt-starter - FCL plugin + full stack Nuxt application starter template

How to use the Flow Client Library (FCL) with Nuxt Access the FCL instance from

Bruno Gonzales 3 Jul 18, 2022