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