An example of showing how to implement Flux into a Vue.js app.
- Since this is a fairly small application, so the real benefits of flux is unobvious.
- Since Vue.js has its own event system so it would be great to leverage Vue native events into our Flux system. Tried to use Vue.js instance as Flux store but din't go well.
This app is pretty simple. But it shows that Flux is working with Vue.js. Nothing fancy, to run it
npm clone https://github.com/yang-wei/vue-flux.git
npm install
npm run build
To watch with webpack hot module replacement 🔥
npm run hot
- Extends this app to multiple pages
- Unit testing
- webpack (and it's dev server)
- babel for es6