elm-spa/README.md
Ryan Haskell-Glatz dc533e6771 Change username
2024-03-12 18:23:31 -05:00

41 lines
961 B
Markdown

# [![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!