Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryan-haskell/elm-spa
single page apps made easy
https://github.com/ryan-haskell/elm-spa
elm elm-spa web
Last synced: about 13 hours ago
JSON representation
single page apps made easy
- Host: GitHub
- URL: https://github.com/ryan-haskell/elm-spa
- Owner: ryan-haskell
- License: bsd-3-clause
- Created: 2019-10-04T22:15:09.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T01:18:29.000Z (9 months ago)
- Last Synced: 2024-12-14T21:04:37.744Z (8 days ago)
- Topics: elm, elm-spa, web
- Language: TypeScript
- Homepage: https://elm-spa.dev
- Size: 4.04 MB
- Stars: 459
- Watchers: 12
- Forks: 72
- Open Issues: 47
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [![elm-spa](https://v6.elm-spa.dev/images/rounded-logo-bg.png)](https://elm-spa.dev)
# **Installation**
```bash
npm install -g elm-spa@latest
```# **Quick start**
## **1. Create a new project**
```bash
npx elm-spa new
```## **2. Check out the new files**
```bash
your-new-project/
- elm.json
- src/Pages/Home_.elm
- public/index.html
```## **3. Run it in your browser**
```bash
npx elm-spa server # Ready at http://localhost:1234
```# **Learn more**
__Visit the official site__ at [elm-spa.dev](https://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 [ryan-haskell/elm-spa](https://package.elm-lang.org/packages/ryan-haskell/elm-spa/latest/) package documentation. The package only exists to constrain the CLI, and provides a few basic internal helper functions.
Check out [the official website](https://elm-spa.dev) instead!