Esbuild Elm Template
A default template for building Elm applications using esbuild and elm-watch
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Esbuild Elm Template
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.
Built With
Getting Started
Installation
-
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
Usage
Run the application in developer mode
npm start
Check it out in http://localhost:9000
Build for production
npm run build
Contributing
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
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Andres Otarola - @aotarola - andres@otarola.me
Project Link: https://github.com/aotarola/esbuild-elm-template