An example of binding Gun to Vuex based on: https://github.com/amark/gun/tree/master/examples/vue written by https://github.com/sjones6
Quasar is a great GUI framework for building Mobile Apps and Web sites https://github.com/quasarframework/quasar
$ git clone https://github.com/beebase/gun-vuex-quasar.git
$ cd gun-vuex-quasar
# install dependencies
$ npm install
# start up gun server (will run @ port 8081)
$ node server
# open new terminal
# start up client app with hot reload at localhost:8080
$ quasar dev
The directory structure is modular so you can easily extend to more complicated apps.
configuration/instantiation for Gun
Gun methods for todo
vxTodo.js imports all the methods from src/gun/todo.js and encapsulates these into its own Vuex actions.
The Vue component that will show the todo list. It only communicates with Gun using Vuex.
The gun server configured to write to data.json