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.
Enjoy folks!
# 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 and docs for vue-loader.