Skip to content

TCashion/traffic-light-state-machine

Repository files navigation

Vue & XState Traffic Light

This is a basic demonstration of XState powering a traffic light.

Project setup and local environment.

  • Clone the repo to your local machine and run npm install to install node modules.
  • Spin up the project locally using npm run serve.
  • Navigate to http://localhost:8080/

Other helpful commands

If you'd like to make changes or experiment with the project, here are a few built-in commands for development:

  • npm run build - Compiles and minifies for production (Vue project default: See Configuration Reference)
  • npm run test:unit - Run unit tests.
  • npm run lint - Lint and fix files

About

Traffic Light Using Vue and XState

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published