elm-spa/README.md

41 lines
892 B
Markdown
Raw Normal View History

2021-01-16 06:39:37 +03:00
# [![elm-spa](https://sad-kirch-e164e1.netlify.app/images/logo.png)](https://v6.elm-spa.dev)
2020-03-28 09:46:45 +03:00
2021-01-16 06:39:37 +03:00
# **Installation**
2020-03-30 04:51:10 +03:00
2021-01-16 06:39:37 +03:00
```bash
2021-01-16 22:45:15 +03:00
npm install -g elm-spa@beta
2020-03-30 04:51:10 +03:00
```
2021-01-16 06:39:37 +03:00
## **Learn more**
__Visit the official site__ at [elm-spa.dev](https://v6.elm-spa.dev) for more examples, guides, and other documentation.
## **The Elm package**
2021-01-16 22:45:15 +03:00
__If you are using elm-spa__, there's no read through the [Elm package](https://package.elm-lang.org/packages/ryannhg/elm-spa/latest/) documentation. The package exists to constrain the CLI, and serves as a reference for future contributions.
2021-01-16 06:51:12 +03:00
# **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
```