I fail to see how it would be useful to have your actions in a Vuex store instead of your machine config though.
It's just inertia. I currently use Vuex actions as a central place for API calls. Putting the actions into FSM would lead to some refactoring -- which is surely doable -- but I'd rather stick with the my approach if possible.
It's just inertia. I currently use Vuex actions as a central place for API calls. Putting the actions into FSM would lead to some refactoring -- which is surely doable -- but I'd rather stick with the my approach if possible.
Ok I see. I think you could just import your store in your fsm file and dispatch the actions from your machine.