Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriochaves committed Sep 3, 2018
1 parent 9af075e commit f75d7cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The unit tests test individual functions and files, while the functional tests a

Spades is basically split in three parts: the **boilerplate**, the **templates** and the **transformers**.

The **boilerplate** is the base application that is generated with the `elm generate app` command, it is fully-working a standalone aplication, which means that you can run it separelety if you wish to make changes to it.
The **boilerplate** is the base application that is generated with the `elm-generate app` command, it is fully-working a standalone aplication, which means that you can run it separelety if you wish to make changes to it.

To run the boilerplate:

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ It has a CLI generating all the necessary Elm boilerplate when adding new compon

```
npm -g install git+https://github.com/rogeriochaves/spades.git
elm generate app MyProject
elm-generate app MyProject
```

## Generators

### Add new component

```
elm generate component Search
elm-generate component Search
```

This is the coolest generator, it will create a Search
Expand All @@ -27,7 +27,7 @@ component under `src/`, update the main Model, Msg, Update, View and Routes for
### Add new route

```
elm generate route Contact
elm-generate route Contact
```

This will create a new Page type, route parser and route toPath case on the `src/Router/Routes.elm` file
Expand Down Expand Up @@ -69,7 +69,7 @@ Read more: https://medium.com/walmartlabs/the-benefits-of-server-side-rendering-
You can disable this option using the `--serverless` flag while creating your project:

```
elm generate app MyProject --serverless
elm-generate app MyProject --serverless
```

## The best layout system you will ever use
Expand Down

0 comments on commit f75d7cc

Please sign in to comment.