Remove a bunch of --pushstate
This commit is contained in:
@@ -9,13 +9,12 @@ Getting Started
|
||||
|
||||
2. Add a plugin for your editor of choice: [Atom](https://atom.io/packages/language-elm), [Sublime Text](https://packagecontrol.io/packages/Elm%20Language%20Support), [VS Code](https://github.com/sbrink/vscode-elm), [Light Table](https://github.com/rundis/elm-light), [Vim](https://github.com/lambdatoast/elm.vim), [Emacs](https://github.com/jcollard/elm-mode), [Brackets](https://github.com/lepinay/elm-brackets)
|
||||
|
||||
3. Not required, but **highly** recommended: [install elm-format](https://github.com/avh4/elm-format#installation-) and integrate it into your editor so that it runs on save. You want the one [for Elm 0.18](https://github.com/avh4/elm-format#for-elm-018).
|
||||
|
||||
3. Not required, but **highly** recommended: enable "[`elm-format`](https://github.com/avh4/elm-format) on save" in your editor.
|
||||
|
||||
4. Run the following command to install everything else:
|
||||
|
||||
```bash
|
||||
npm install -g elm elm-test elm-css elm-live@2.6.1
|
||||
npm install -g elm elm-test elm-css elm-live@2.6.1 elm-format@exp
|
||||
```
|
||||
**Note to macOS users:** If step 4 gives you an `EACCESS` error, try [this fix](https://docs.npmjs.com/getting-started/fixing-npm-permissions):
|
||||
|
||||
@@ -72,7 +71,7 @@ elm-package install --yes
|
||||
Once that succeeds, run this to verify everything:
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
A browser should open, and you should see this in it:
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## Running Tests
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
@@ -13,7 +13,7 @@ elm-package install
|
||||
## Building
|
||||
|
||||
```bash
|
||||
elm-live Main.elm --open --pushstate --output=elm.js
|
||||
elm-live Main.elm --open --output=elm.js
|
||||
```
|
||||
|
||||
## Running Tests
|
||||
|
||||
Reference in New Issue
Block a user