chrislewispac / electron-elm-hello

Basic application skeleton for desktop apps using the Elm programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Electron & Elm basic setup

This is a minimal Electron application built with Elm based on the Electron quickstart repository.

Quick file overview:

  • index.html - A web page that simply mounts the Elm application.
  • Main.elm - The Elm application.
  • main.js - Starts the app and creates a browser window to render HTML.
  • package.json - Points to the app's main file and lists its details and dependencies.
  • elm-package.json - Elm package definition.

To Use

The script expects the compiled Elm code in elm.js, so compile the module like this:

elm make Todo.elm --output elm.js

Then simply run Electron on this folder:

electron .

License

It's under CC0 (Public Domain) like Electron's quickstart repository.

About

Basic application skeleton for desktop apps using the Elm programming language

License:Creative Commons Zero v1.0 Universal


Languages

Language:JavaScript 79.3%Language:HTML 12.0%Language:Elm 8.7%