This component implements a switch widget
Developing on Aire-Switch requires:
- Gradle 7.5.x
- Java 17
- Maven 3.8.x
We recommend installing these via SDKMAN:
sdk install maven 3.8.6
sdk install java 17.0.6-zulu
sdk install gradle 7.5.1
- Run
git clone git@github.com:aire-ux/aire-switch
- Run
gradle populatePaths populateVersions -Pdevelopment
- This will populate
build/generated/sources/main/io/sunshower/aire/ux/controls/Paths and Versions
to point to local development dependencies
- This will populate
- Run
gradle npmInstall
to install a project-local nodejs environment with NPM - Run
gradle buildResources
to build the web resources (styles, TypeScript components) - Run
gradle watch
to watch the web-resource source-files for changes - Run
gradle runDevelopment
to build the Java source-files
When you're ready to test in production-mode:
- run
npm link .
- run
npm install
- run
gradle clean populatePaths populateVersions -Pproduction
- run
gradle clean build bootRun -Pproduction