Quick StartTryGuideAPICommunityBlogGitHub

QuickstartSuggest an edit

npm install -g bs-platform
bsb -init my-first-app -theme basic-reason

And then run it as usual:

cd my-first-app
npm run start

You can also build in watch mode:

npm run watch

That's all! This compiles Reason to Javascript in the lib/js/ folder.

  • Read more about how we compile to JavaScript through our partner project, BuckleScript.

  • Alternatively, to start a ReasonReact app, try bsb -init my-react-app -theme react.

  • Head over to Editor Setup to get the Reason plugin for your favorite editor!