Remove a bunch of --pushstate

This commit is contained in:
Richard Feldman
2018-02-22 17:04:15 -05:00
parent c8c89adc63
commit 2f501ef780
11 changed files with 13 additions and 14 deletions

View File

@@ -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) 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: 4. Run the following command to install everything else:
```bash ```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): **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: Once that succeeds, run this to verify everything:
```bash ```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: A browser should open, and you should see this in it:

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## References ## References

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## Running Tests ## Running Tests

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## References ## References

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## References ## References

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## References ## References

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## References ## References

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## References ## References

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## References ## References

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## References ## References

View File

@@ -13,7 +13,7 @@ elm-package install
## Building ## Building
```bash ```bash
elm-live Main.elm --open --pushstate --output=elm.js elm-live Main.elm --open --output=elm.js
``` ```
## Running Tests ## Running Tests