Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/snipcart/vue-blog-demo

A Vue.js blog demo to demonstrate proper decoupling of api data and swapping of resources/providers
https://github.com/snipcart/vue-blog-demo

blog vue vue-blog-demo vuejs

Last synced: about 16 hours ago
JSON representation

A Vue.js blog demo to demonstrate proper decoupling of api data and swapping of resources/providers

Awesome Lists containing this project

README

        

# A Killer Vue.js Blog Demo: Launch in 2 Hours Tops

![vuejs-blog-demo](https://snipcart.com/media/175864/build-vuejs-blog-copy.jpg)

In this demo, I'm going to provide an open source Vue.js blog demo + cover.

Steps:

- Setup and routing
- Displaying your blog feed with filters
- Displaying individual posts with comments
- Creating a custom Vue plugin to keep your data decoupled

The result will be a JAMstack-ready, truly decoupled Vue blog you can plug to any data source—more on that later.

> [Read full tutorial on the blog](https://snipcart.com/blog/vuejs-blog-demo)

> [See live demo hosted on Netlify](https://vue-blog-demo.netlify.com/)

Enjoy folks!

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).