Skip to content
No description, website, or topics provided.
F# JavaScript HTML CSS Shell Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.paket
.vscode
src
static/assets
test
.gitignore
MasterMind.sln
NuGet.Config
README.md
build.fsx
build.proj
fake.cmd
fake.sh
package.json
paket.dependencies
paket.lock
paket.references
splitter.config.js
webpack.config.js
yarn.lock

README.md

Fulma minimal template

This template setup a minimal application using Fable, Elmish and Fulma.

How to use ?

Axxes

.\fake.cmd run .\build.fsx -t Watch

Architecture

  • 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 and sass (by default we use scss)
  • Static assets (favicon, images, etc.) should be placed in the static folder

In development mode

If you are using Windows replace ./fake.sh by fake.cmd

  1. Run: ./fake.sh build -t Watch
  2. Go to http://localhost:8080/

On Unix you may need to run chmod a+x fake.sh

In development mode, we activate:

Build for production

If you are using Windows replace ./fake.sh by fake.cmd

  1. Run: ./fake.sh build
  2. All the files needed for deployment are under the output folder.
You can’t perform that action at this time.