Permalink
Browse files

Done

  • Loading branch information...
chenglou committed Aug 11, 2018
1 parent 6c4e435 commit 8c6b77a0d379244d8d0631a7089d40d1be1f0b30
Showing with 0 additions and 9 deletions.
  1. +0 −8 docs/installation.md
  2. +0 −1 website/static/js/redirect.js
@@ -8,8 +8,6 @@ To easily try ReasonReact, we offer two solutions.
## Bsb
**Our preferred option**. If it's your first time trying ReasonReact, feel free to use the more familiar create-react-app option below, too.
```sh
npm install -g bs-platform
bsb -init my-react-app -theme react
@@ -21,9 +19,3 @@ npm run webpack
BuckleScript's [bsb](https://bucklescript.github.io/docs/en/build-overview.html) build system has an `init` command that generates a project template. The `react` theme offers a lightweight solution optimized for low learning overhead and ease of integration into an existing project.
It compiles to straightforward JS files, so you can open `index.html` directly from the file system. No server needed.
## Reason Scripts (Aka Create-React-App)
[Reason-scripts](https://github.com/reasonml-community/reason-scripts) provides a familiar experience to the ReactJS users who are already familiar with [create-react-app](https://github.com/facebookincubator/create-react-app). It's an all-encompassing solution. However, if it's too heavy for your taste, try the first option above (bsb).
As with `create-react-app`, `reason-scripts` comes with a server and hot-reloading built in.
@@ -19,7 +19,6 @@
var gettingStarted = {
'#getting-started': 'installation.html',
'#getting-started-bsb': 'installation.html#bsb',
'#getting-started-reason-scripts': 'installation.html#reason-scripts',
default: 'installation.html'
};
// redirects[page][hash] => new page;

0 comments on commit 8c6b77a

Please sign in to comment.