0.0.2 • Published 4 years ago

xs-flow v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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

0.0.2

4 years ago

0.0.1

4 years ago