Skip to content

yang-wei/vue-redux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue + Flux 👫

An example of showing how to implement Flux into a Vue.js app.

Thoughts 💭

  • 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.

Run the app 💻

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

Todo 📝

  • Extends this app to multiple pages
  • Unit testing

Dev tools used 🔫

  • webpack (and it's dev server)
  • babel for es6

About

What happen when Vue.js + Redux

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6