Async Promise

Using vexflow-core.js allows your webpage to load a smaller initial bundle. It will load fonts on demand when you call VexFlow.loadFonts(...fontNames). This method is asynchronous and returns a Promise.

Open your browser's developer tools to see that font files are downloaded upon request:

View this page's source code for more information.