website
website copied to clipboard
Add documentation for wasm, dual-compile, and new `FlutterLoader.load` APIs
For the dart2wasm+skwasm effort, there are a number of thing's I will need to write some documentation on and publish including:
- The
--wasmflag, and how it produces a dual-compiled application bundle - Templating of the .html file to inject build configuration in for dual compiled builds
- Use of the
FlutterLoader.loadAPI which is the new canonical way to load your app - How to serve your files with
COOPandCOEPheaders in order to getcrossOriginIsolatedso users can get multi-threaded rendering via skwasm
Some stuff is in a draft here: https://github.com/flutter/website/pull/10256
hey, stable version was released yesterday and this looks like confusing. any expectations about it?
We added documentation here: https://docs.flutter.dev/platform-integration/web/wasm
And here: https://docs.flutter.dev/platform-integration/web/bootstrapping
Closing this as completed.