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 build

You can also build in watch mode:

npm run watch

This will compile Reason to Javascript in the lib/js/ folder

Alternatively, to start a ReasonReact app, try bsb -init my-react-app -theme react. More info on bsb & bsconfig here. BuckleScript has first-class support for Reason, which is why you don't see any extra "reason" installation.