79238771

Date: 2024-11-30 03:39:34
Score: 1
Natty:
Report link

Just edit the index.html as this:

<!-- replace this -->
<!-- <script src="flutter_bootstrap.js" async></script> -->

<!-- with this -->
<script>
  {{flutter_js}}
  {{flutter_build_config}}

  _flutter.loader.loadEntrypoint({
    onEntrypointLoaded: async function (engineInitializer) {
      let appRunner = await engineInitializer.initializeEngine({
        // JsFlutterConfiguration goes here...
        canvasKitBaseUrl: "/canvaskit/",
      });
      appRunner.runApp();
    },
  });
</script>

References:

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Amaoto