Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update walkthrough code to use yarn instead of npm (#671)
- Loading branch information
1 parent
6d7dc97
commit ad1e992
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
The examples are written using [ES7](http://react-dnd.github.io/react-dnd/docs-faq.html#what-is-the-syntax-i-see-in-the-es7-code-examples-) and use [decorators](https://github.com/wycats/javascript-decorators). You don't have to use the decorators for React DnD, they are completely optional. [The tutorial](http://react-dnd.github.io/react-dnd/docs-tutorial.html) should give you a good idea about using React DnD in ES5, ES6, or ES7. | ||
|
||
Check out the [hosted versions of this examples](http://react-dnd.github.io/react-dnd/examples-chessboard-tutorial-app.html). To run them locally, clone the repo, and run `npm install && npm start`. It will take a while to start, but after the site is built, you can access the examples by opening [http://localhost:8080/](http://localhost:8080/) and clicking “Examples” in the navigation bar. | ||
Check out the [hosted versions of this examples](http://react-dnd.github.io/react-dnd/examples-chessboard-tutorial-app.html). To run them locally, clone the repo, and run `yarn install && yarn start`. It will take a while to start, but after the site is built, you can access the examples by opening [http://localhost:8080/](http://localhost:8080/) and clicking “Examples” in the navigation bar. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters