Vue.js POC
# 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 detailed explanation on how things work, checkout the guide and docs for vue-loader.
The POC was aimed to get some hands on experience with Vue.js. The following topics were covered as part of this POC -
-
Generator - vue-cli
-
Vue Directives - v-if, v-for, v-on, v-bind etc
-
Navigation/Routers - vue-router
-
CSS framework - Bulma: Alternative to Bootstrap or Foundation
-
Responsiveness - Desktop to mobile devices
-
HTTP Library - Axios: Alternative to vue-resource (Axios works well with Vue and is recommended)