Novel Planetary Movement

    nuxt-xstate
    TypeScript icon, indicating that this package has built-in type declarations

    0.5.1 • Public • Published

    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

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

    Installation 💾

    Run one of the following commands:

    yarn add --dev nuxt-xstate
    # or
    npm install --save-dev nuxt-xstate

    And add it to your nuxt.config.ts:

    import { defineNuxtConfig } from 'nuxt/config'
    
    export default defineNuxtConfig({
      modules: ['nuxt-xstate']
    })

    Usage 🧰

    👉 Check out the documentation

    Work in progress 🚧

    Development 💻

    • 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.

    Install

    npm i nuxt-xstate

    DownloadsWeekly Downloads

    160

    Version

    0.5.1

    License

    MIT

    Unpacked Size

    12.2 kB

    Total Files

    12

    Last publish

    Collaborators

    • lexpeartha