xs-flow
v0.0.2
Published
xstream-js,vuex,vue-router,react,react-router
Downloads
7
Readme
xs-flow
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>