fable-scaffold-main.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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