Skip to content
Ron B. Yeh edited this page Mar 3, 2022 · 14 revisions

Below, we demonstrate different ways to display a VexFlow score in your project.

1 - <script> tag

The quickest way is to add <script> tags into a static HTML page.

First, we add a <script> tag to include the VexFlow library.

<script src="https://cdn.jsdelivr.net/npm/vexflow/build/cjs/vexflow.js"></script>

...

CDN

You can use any CDN that serves NPM packages. Our favorites are jsdelivr and unpkg. Choose the one that works best for you!

jsdelivr

unpkg

Common JS vs ES Module

...

2 - Node.js

...

3 - TypeScript

...

Clone this wiki locally