This is a small Fable app project which uses Snowpack so you can easily get started and add your own code progressively.
- dotnet SDK 5.0 or higher
- node.js
- An F# editor like Visual Studio, Visual Studio Code with Ionide or JetBrains Rider
- Navigate to directory:
cd src/Web
- Install dependencies:
npm install
- Start the development server:
npm run dev
Any modification you do to the F# code will be reflected in the web page after saving.
.
βββ Nuget.Config
βββ README.md
βββ package-lock.json
βββ package.json - JS dependencies
βββ build - Ready to deploy files when you run `npm run build`
βββ dist - Compiled JS from F# file
βββ public
βΒ Β βββ favicon.ico - Fable favicon
βΒ Β βββ index.html - Main HTML file
βΒ Β βββ robots.txt
βββ snowpack.config.js - Snowpack configuration
βββ src
βββ App.fs - F# sample code
βββ App.fsproj - F# project