vue-comments
vue-comments copied to clipboard
A simple comment system using Vue.js v2 and PHP, SQLite for backend, here is the tutorial which covers how to build it http://www.qcode.in/getting-started-vue-js-making-comment-app/
Vue-Comment
A Comment app using Vue.js v2 and backend running on PHP, SQLite. Tutorial is covered at qcode.in.
Run the API first
To run the backend API, cd into api
folder and run php -S localhost:3434
, it will fire up a PHP dev server.
Install
First clone the repo, cd into it and run npm install
.
Serve with hot reload at localhost:8080
npm run dev
Build Setup
# 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.