It is modelled after Zaid-Ajaj's elmish-login-flow-validation which is a morecomprehensive example accross several files and mimics a login in addition to form validation.
This project aims to have be simpler to digest and is built upon the Fulma Minimal Template. At the time of writting, it also uses a more upto date version of Fable, Fake, Paket etc.
- Entry point of your application is
src/App.fs
- We are using hmtl-webpack-plugin to make
src/index.html
the entry point of the website - Entry point of your style is
src/scss/main.scss
- Bulma and Font Awesome are already included
- We are supporting both
scss
andsass
(by default we usescss
)
- Static assets (favicon, images, etc.) should be placed in the
static
folder
If you are using Windows replace ./fake.sh
by fake.cmd
- Run:
./fake.sh build -t Watch
- Go to http://localhost:8080/
On Unix you may need to run chmod a+x fake.sh
In development mode, we activate:
- Hot Module Replacement, modify your code and see the change on the fly
- Redux debugger, allow you to debug each message in your application using Redux dev tool
If you are using Windows replace ./fake.sh
by fake.cmd
- Run:
./fake.sh build
- All the files needed for deployment are under the
output
folder.