This is a basic demonstration of XState powering a traffic light.
- 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/
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