Szafran89 Nuxt Blog Save

A Nuxt.js server side rendered blog app

Project README

nuxt-blog

A Nuxt.js server side rendered blog application (PWA included) based on Contenful API.

Conecting with API

To run a blog, firstly you have to connect with API. To do that follow below steps:

  1. Sign up for Contentful.

  2. Log into Contentful and create new space. During creating new space you have to choose Create an example space and then select Blog tab.

  3. Clone the repository.

  4. Inside api directory copy/paste config.js.sample file and rename to config.js.

  5. Overwride config.js with data form Contentful blog space.

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000/nuxt-blog
$ npm run dev

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

# generate static project
$ npm run generate

License

  • MIT

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

Open Source Agenda is not affiliated with "Szafran89 Nuxt Blog" Project. README Source: szafran89/nuxt-blog
Stars
59
Open Issues
0
Last Commit
6 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating