Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kylestlb/vuex-horizon-scaffold
Scaffold for vuex/horizon project.
https://github.com/kylestlb/vuex-horizon-scaffold
Last synced: 24 days ago
JSON representation
Scaffold for vuex/horizon project.
- Host: GitHub
- URL: https://github.com/kylestlb/vuex-horizon-scaffold
- Owner: kylestlb
- Created: 2016-07-11T02:50:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T03:30:19.000Z (almost 8 years ago)
- Last Synced: 2024-02-17T20:38:28.749Z (4 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 20
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-vuejs - vuex-horizon-scaffold ★12 - A scaffold with vuex and horizon.io, hooked up to the vue-cli webpack build. (Awesome Vue.js / Libraries & Plugins)
- awesome-vue-refactor - vuex-horizon-scaffold ★12
README
# vuex-horizon-scaffold
Scaffold / starter-kit for [vuex](https://github.com/vuejs/vuex) and [horizon](https://horizon.io) 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](https://github.com/vuejs/vue-cli) 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).
## Instructions for running a dev version:
0. Make sure horizon CLI is installed, as well as rethinkDB.
1. `hz serve --dev` inside root directory (directory with .hz folder)
2. `npm install` inside 'app' directory
3. `npm run dev` inside 'app' directory
4. 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.