Setup

This is a single package for single Vue component - VrWizard.

Installation

Add @vurian/wizard dependency to your project:

yarn add @vurian/wizard
npm install @vurian/wizard

Vue 2 support

This component library is written in Vue 3, hence currently we don't have any plan to backward compatibility support yet.

Using with XState

If you want to extend the wizard to support addition event actions, you should install XState.

In the upcoming release we will have this support enabled automatically.

yarn add xstate
npm install xstate

Once installed, you can pass your own event actions by using assign() in the wizard config Object.

TypeScript Support

@vurian/wizard supports TypeScript by default.

And that's it 🎉! See Wizard section for how to use the component.

Edit this page on GitHub Updated at Fri, Feb 4, 2022