Home
Softono

Nuxt Xstate

Open source MIT TypeScript
59
Stars
3
Forks
10
Issues
3
Watchers
7 months
Last Commit

 About Nuxt Xstate

XState integration for Nuxt

Platforms

Web Self-hosted

Languages

TypeScript

Need Help Installing Nuxt Xstate?

We provide expert installation service for this software. Our team will install, configure, and secure Nuxt Xstate on your server. plans start at just $30.

Nuxt Xstate

View on GitHub

Nuxt XState

GitHub package.json version npm (prod) dependency version npm (prod) dependency version npm Website GitHub Workflow Status

Nuxt XState module allows for easy integration of XState with Nuxt.js.

Features :sparkles:

  • Nuxt Bridge & Nuxt 3 supported
  • Auto-importing of XState composables
  • Auto-importing of your own state-machines

Installation :floppy_disk:

Run one of the following commands:

npx nuxi@latest module add xstate

And add it to your nuxt.config.ts:

import { defineNuxtConfig } from 'nuxt/config'

export default defineNuxtConfig({
  modules: ['nuxt-xstate']
})

Usage :toolbox:

:point_right: Check out the documentation

Work in progress :construction:

Development :computer:

  • Clone repository and install dependencies with yarn install
  • Run yarn dev:prepare to generate type stubs.
  • Use yarn dev to start playground in development mode.