Nuxt XState module allows for easy integration of XState with Nuxt.js.
- Nuxt Bridge & Nuxt 3 supported
- Auto-importing of XState composables
- Auto-importing of your own state-machines
Run one of the following commands:
npx nuxi@latest module add xstateAnd add it to your nuxt.config.ts:
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
modules: ['nuxt-xstate']
})👉 Check out the documentation
-
@xstate/inspectsupport
- Clone repository and install dependencies with
yarn install - Run
yarn dev:prepareto generate type stubs. - Use
yarn devto start playground in development mode.