Today I Learned

hashrocket A Hashrocket project

Generate Starter ReasonML Projects With bsb

With the latest bs-platform installed, you should have access to the bsb command which contains a number of options -- including -themes.

$ bsb -themes
Available themes:
basic
basic-reason
generator
minimal
node
react

This is a list of themes (read: templates) that can be used to generate a starter project.

For example, if you'd like a basic project structure geared toward writing Reason, run the following:

$ bsb -init my-project -theme basic-reason

Or if you'd like to get started with reason-react, give this a try:

$ bsb -init my-reason-react-project -theme react

source

See More #reasonml TILs