209fdf5726
After some toil, I finally support basic ReasonML starter code. I'm adding it to the nut-score directory because I would like to make a simple webpage that render some nutritional facts about nuts with respect to the ketogenic diet. I'm not sure if I should include or exclude te .bs.js files. See the README.md for more information. |
||
---|---|---|
.. | ||
src | ||
bsconfig.json | ||
index.html | ||
indexProduction.html | ||
package.json | ||
README.md | ||
shell.nix | ||
UNUSED_webpack.config.js | ||
watcher.js | ||
yarn.lock |
Nut Score
I cloned most of this start boilerplate from github.com/BuckleScript/bucklescript by running the following:
$ cd ~/programming
$ git clone git@github.com:BuckleScript/bucklescript
$ cp -R ./jscomp/bab/templates/react-hooks ~/briefcase/nut-score
Installing
$ nix-shell
$ yarn install
Developing
In one shell run:
$ nix-shell
$ yarn server
In another shell run:
$ nix-shell
$ yarn start
Now open a web browser and visit localhost:8000
.