A Comment app using Vue.js v2 and backend running on PHP, SQLite. Tutorial is covered at qcode.in.
To run the backend API, cd into api
folder and run php -S localhost:3434
, it will fire up a PHP dev server.
First clone the repo, cd into it and run npm install
.
npm run dev
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.