Canvas kit.
This commit is contained in:
11
client/web/flutter_bootstrap.js
Normal file
11
client/web/flutter_bootstrap.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{{flutter_js}}
|
||||||
|
{{flutter_build_config}}
|
||||||
|
|
||||||
|
_flutter.loader.load({
|
||||||
|
onEntrypointLoaded: async function(engineInitializer) {
|
||||||
|
const appRunner = await engineInitializer.initializeEngine({
|
||||||
|
canvasKitBaseUrl: 'canvaskit/',
|
||||||
|
});
|
||||||
|
await appRunner.runApp();
|
||||||
|
}
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user