What I am trying to do is to write an SPA application in F#. Is it possible to use Fable without the full tooling, just only as F# to html+javascript compiler? Ideally I would like to be able to compile one or more F# files into a static html+javascript markup and send it straight to the browser from F# interactive, without any web server.
The typical workflow is:
1) Create new project from template
2) Modify project files
3) Build
4) Open browser and point to specific url
What I would like to do is something like (from F# interactive):
let html = Fable.compile([fileXYZ.fs])
do XPlot.Plotly.Html.showInBrowser html "pageid"
Is this possible? How can I do it?
http://localhost:8080/is because during development, having a server process allows for watching your source files, recompiling when you edit a file, and automatically refreshing the browser after the compile finishes. But ultimately, Fable just compiles to Javascript, which could be served up from a static HTML file just fine. - rmunn