vrkflow
v0.2.2
Published
A flexible implementation of the step-by-step workflow/wizard pattern for VueJs and Vuex
Downloads
2
Maintainers
Readme
Vrkflow
A (wip) flexible implementation of the step-by-step workflow/wizard pattern for VueJs and Vuex.
Project
vrkflow is a mixin for Vue components and a store wrapper based on Vuex which implements the functional part and the state management of a workflow/wizard pattern.
Definition
It is the environment in which you define the steps, the workflows (set of steps), the navigation rules belonging to your wizard. It enables you to add and remove steps, to load and save data at any time. It is very flexible and you can use it with any UI implementation of your choice.
Navigation
vrkflow supports two different navigation modes : sequential and not sequential. By default the navigation is sequential and the user can just go 1 step backward/forward. If a step is described as non sequential (jump), the user can directly jump to that specific step skipping those in between.
Validation
vrkflow doesn't provide a specific validation system. It just doesn't allow the user to leave the current step until isn't not "completed". You can choose when and how to toggle this flag using one of the provided callbacks.
Documentation
Roadmap
See Project roadmap.
vrkflow
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Run your unit tests
npm run test:unit