A Gradle project template integrating Kotlin/JS and Tailwind CSS with support for continuous mode and live reloading.
Run:
./gradlew jsRun -t
Edit input.css
, Kotlin source files and HTML resources at will. Everything should live reload upon save.
After creating a new project from this template you might want to:
- Change the root project name in
settings.gradle.kts
; - Change the name of the included JavaScript file to match the new root project name.
This template includes a workflow that automatically publishes a production build of the project upon every push to the main
branch.
For this to work, your GitHub project repository must be configured to allow build and deployment of GitHub Pages by GitHub Actions, see Publishing with a custom GitHub Actions workflow for details.