- Create a folder and run "npm i bs-platform -g"
- Go to that folder and run "bsb init -theme basic-reason" and this will create the folder structure for you.
- If you are using VS Code then you can install "reason-vscode" extension 1.7.7 to start with.
- Go to your project folder and run "bsb -make-world".
- After running step 1 , you will see that bsb has compiled your code (if there is no error) and there is one new file with extension ".bs.js" . For example for "Demo.re" it will generate "Demo.bs.js".
- Once compilation happen successfully, run node .bs.js