Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fable-scaffold-main.fs
// main.fs
module Main
open Fable.React
open App
let document = Browser.Dom.window.document
let root = document.getElementById "root"
ReactDom.render(App(), root)
// app.fs
module App
open Fable.React
let App() =
div [] [ str "Hello from Fable-React Application!"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment