docs
docs copied to clipboard
Vue 2 docs not clear nor complete
I've check this documentation but it seems like not too clear for as wanted a to go example in setting it up
The documentation only shows how to setup states but Im wondering why not include on how to include services
, guards
and so when creating state
https://xstate.js.org/docs/recipes/vue.html
Though upon checking the createMachine
docs it provides options
But not seeing clear information in making through on non-composition-api.
In composition-api version is easy and clear.
createMachine
then userMachine
which dev can inject services
, actions
, and guards
in to.
Can you provide other example which we can see on how do we inject those options? Or are there already existing example but hidden or not accessible on the site?