xs-flow

xstream-js,vuex,vue-router,react,react-router

Usage no npm install needed!

<script type="module">
  import xsFlow from 'https://cdn.skypack.dev/xs-flow';
</script>

README

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