xs-flow

v0.0.2
xstream-js,vuex,vue-router,react,react-router

xs-flow

npm
subscribe user's progress in your webApp (power by vuex, vue-router)

how to use

import XsFlow from 'xs-flow'
import router from 'path/to/router'
import store from 'path/to/store'
import someBlocks from 'path/to/blocks'

Vue.prototype.$xsFlow = new XsFlow(router, store)
  .push(...someBlocks)
  .create()
<script>
  export default {
    someHandler() {
      this.$xsFlow.next()
    }
  }
</script>
example

hello app

npm i xs-flow

Metadata

  • MIT
  • Whatever
  • zouhang
  • released 7/1/2020

Downloads

Maintainers