Hanami + Vuejs Todoapp
todoMVC implementation with Vuejs & Hanami
Setup
Hanami backend
How to run tests:
% bundle exec rake
How to run the development console:
% bundle exec hanami console
How to run the development server:
% bundle exec hanami server
How to prepare (create and migrate) DB for development
and test
environments:
% bundle exec hanami db prepare
% HANAMI_ENV=test bundle exec hanami db prepare
Explore Hanami guides, API docs, or jump in chat for help. Enjoy!
Vuejs app
cd vue-app
# 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
# run unit tests
npm run unit
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.