Skip to content

Commit

Permalink
Add instructions about init from the cli
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricss committed Jul 24, 2019
1 parent 0ef9c77 commit 091390a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19,709 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A project template and a generator to:
<i>The generated <a href="https://elm-lang.org">Elm</a> app started with <a href="https://parceljs.org">Parcel</a><br/> behind <a href="https://www.netlify.com/products/dev/">Netlify Dev</a> and tested with <a href="https://www.cypress.io">Cypress</a>:</i>
</p>

<p align="center" margin-bottom="-2rem">
<p align="center">
<a href="https://elm-batteries.netlify.com/demo">
<img width="875px" src="https://concat.dev/elm-cypress.png" alt="elm-batteries template demo" />
</a>
Expand Down Expand Up @@ -69,6 +69,18 @@ A project template and a generator to:

### Generate a new project

#### From the CLI

```
npm init elm-batteries my-elm-project
```

<p align="center">
<img width="816px" src="https://concat.dev/create-elm-batteries.png" alt="create-elm-batteries cli generator" />
</p>

#### From Github

Click the Github green button [Use this template](https://github.com/cedricss/elm-batteries/generate) to generate a new public or private project from [elm-batteries](https://github.com/cedricss/elm-batteries).

Install the dependencies:
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Elm } from "./src/Main.elm";
import "./scss/style.scss";
import { readFileSync } from "fs";

if (module.hot) {
module.hot.dispose(() => {
Expand Down
Loading

0 comments on commit 091390a

Please sign in to comment.