Scaffold / starter-kit for vuex and horizon project.
I wanted to have something basic, yet not too basic to base projects off of. All I did here was hook together vue-cli's webpack build with vuex and horizon to play with all of these technologies.
Live reloading, etc is configured and you can look through the various config files to see all of the build options.
To run a 'prod' build, you might have to tweak some filepath stuff within config files. I haven't tried running the test suite at all but feel free to make a PR if something is broken :)
I made sure to include a sample vuex getter/mutator/action/store to illustrate how that would work in a 'real' app (not just sample code on vuex docs).
-
Make sure horizon CLI is installed, as well as rethinkDB.
-
hz serve --dev
inside root directory (directory with .hz folder) -
npm install
inside 'app' directory -
npm run dev
inside 'app' directory -
Navigate to http://localhost:8080
Hope this helps people who want to play with horizon and vuejs! And thanks to the vuejs and rethinkdb teams for making cool things.