atpons / elm-spa

single page apps made easy

Home Page:https://elm-spa.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elm-spa

Installation

npm install -g elm-spa@latest

Quick start

1. Create a new project

npx elm-spa new

2. Check out the new files

your-new-project/
  - elm.json
  - src/Pages/Home_.elm
  - public/index.html

3. Run it in your browser

npx elm-spa server   # Ready at http://localhost:1234

Learn more

Visit the official site at elm-spa.dev for more examples, guides, and other documentation.

Do I need the Elm package?

If you are using elm-spa, there's no need to read the ryannhg/elm-spa package documentation. The package only exists to constrain the CLI, and provides a few basic internal helper functions.

Check out the official website instead!

About

single page apps made easy

https://elm-spa.dev

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 67.9%Language:Elm 30.8%Language:JavaScript 1.0%Language:HTML 0.3%