A default template for building Elm applications using esbuild and elm-watch
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
A small default template for building Elm applications using esbuild + elm-watch, it is heavily based on elm-watch example. It includes the following features:
- ⚡ Absolute minimalist
- 🔥 Hot reloading on dev mode
- 🛠️ Tooling installation via
elm-tooling
- 💅 Elm code linted by
elm-review
(with reasonable defaults) - 🧪 Tests are run via
elm-test-rs
- 🚀 Production Build (minification using
UglifyJS
)
The aim of this template is to keep things as simple as possible, so it avoids unwanted bloat.
-
Click on the github template button of this repo and clone it, or use
tiged
:npx tiged aotarola/esbuild-elm-template my-elm-app cd my-elm-app
-
Install NPM packages
npm ci
npm start
Check it out in http://localhost:9000
npm run build
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Andres Otarola - @aotarola - andres@otarola.me
Project Link: https://github.com/aotarola/esbuild-elm-template