Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szafran89/nuxt-blog
A Nuxt.js server side rendered blog app
https://github.com/szafran89/nuxt-blog
blog contentful nuxt-blog nuxtjs pwa vuejs2 vuex
Last synced: 3 months ago
JSON representation
A Nuxt.js server side rendered blog app
- Host: GitHub
- URL: https://github.com/szafran89/nuxt-blog
- Owner: szafran89
- License: mit
- Created: 2017-07-03T21:09:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-07T07:54:29.000Z (over 6 years ago)
- Last Synced: 2024-10-01T03:24:06.792Z (4 months ago)
- Topics: blog, contentful, nuxt-blog, nuxtjs, pwa, vuejs2, vuex
- Language: Vue
- Homepage: https://szafran89.github.io/nuxt-blog/
- Size: 1.16 MB
- Stars: 59
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nuxt-blog
> A Nuxt.js server side rendered blog application (PWA included) based on [Contenful API](https://www.contentful.com/).
## 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](https://www.contentful.com/sign-up/).
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.
3. Inside `api` directory copy/paste `config.js.sample` file and rename to `config.js`.
4. Overwride `config.js` with data form Contentful blog space.
## Build Setup
``` bash
# 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](https://github.com/nuxt/nuxt.js).