Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (16 loc) · 882 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 882 Bytes

A Static Blog Built with Nuxt.js, Tailwindcss and using Cockpit as a Headless CMS

An example of a statically generated blog using Nuxt.js. From the blog post - Building a Static Blog with Nuxt.js and Cockpit Headless CMS - Part 1: Setup

A live demo of this site can be seen here - https://nuxt-cockpit-static-blog.netlify.com

Build Setup

# Rename .env.example to .env
$ mv .env.example .env

# Edit .env and enter your Cockpit API details

# install dependencies
$ npm install # Or yarn install

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

# generate the static blog
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.