/elm-netlify-minimal

Minimal example of deploying an Elm app to Netlify

Primary LanguageElmMIT LicenseMIT

Minimal Elm deploy to Netlify

Netlify Status Deploy to Netlify

This is a minimal example Elm app that is deployed to Netlify (see the live site).

Using this yourself

This is a GitHub template repository which allows you to initialize your own repo with the same files and directories as this (but not the history). To start using, click the big "Use this template" button at the top of the page

More complex setups

For more realistic apps, you will want to use more than the Elm compiler. Likely you will want a bundler like Parcel. See the sister elm-netlify-parcel project for a starter that includes it.

A note on the Elm compiler

Instead of relying on a system-wide install of the Elm compiler on my local machine, I installed a local version to node_modules via Yarn. You can see this in the package.json file. This allows me to build the app using my own version of the compiler on Netlify instead of depending on them having something already there when building production.

License

The repo is provided under the MIT License.