update readme

This commit is contained in:
Ryan Haskell-Glatz 2021-01-15 21:51:12 -06:00
parent b2cf688ae0
commit 2f3b68db4c

View File

@ -14,3 +14,28 @@ __Visit the official site__ at [elm-spa.dev](https://v6.elm-spa.dev) for more ex
## **The Elm package** ## **The Elm package**
__If you are using elm-spa__, there's no read through the [Elm package](https://package.elm-lang.org/packages/ryannhg/elm-spa/6.0.0/) documentation. The package exists to constrain the CLI, and serves as a reference for future contributions. __If you are using elm-spa__, there's no read through the [Elm package](https://package.elm-lang.org/packages/ryannhg/elm-spa/6.0.0/) documentation. The package exists to constrain the CLI, and serves as a reference for future contributions.
# **At a glance**
## **1. Create a new project**
```bash
mkdir your-new-app
cd your-new-app
elm-spa new
```
## **2. Check out the new files**
```bash
your-elm-app/
- elm.json
- src/Pages/Home_.elm
- public/index.html
```
## **3. Run it in your browser**
```bash
elm-spa server # Ready at http://localhost:1234
```