ES Module
This page shows how to include VexFlow via direct import of an ES module entry file. View the source code.
Open the vexflow/build/esm/entry/ folder to see the various entry points. This particular demo uses vexflow-core.js.
This page only works if you run a web server (e.g., npx http-server and navigate to http://127.0.0.1:8080/demos/modules/module.html) or just open on the web.
This is because ES modules do not work from file:// URLs.
VexFlow Build:
See also: Script Tag