MangelMaxime / Elmish.Canvas

Home Page:https://mangelmaxime.github.io/Elmish.Canvas/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fulma minimal template

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

How to use ?

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.

About

https://mangelmaxime.github.io/Elmish.Canvas/


Languages

Language:F# 77.1%Language:JavaScript 19.5%Language:SCSS 2.2%Language:HTML 1.0%Language:Shell 0.1%Language:Batchfile 0.1%