The VexFlow sandbox is hosted on GitHub Pages:
https://vexflow.github.io/vexflow-sandbox/
The site is built with the 11ty static site generator.
- Install dependencies:
npm install - The
src/folder containsindex.html, which is interpreted as a liquid template.- 11ty also supports markdown and other template files.
- Start the dev server:
npm start - Navigate to:
http://localhost:8080/ - Pages in
src/will be translated to paths as follows:index.html→/about.md→/about/hello.html→/hello/testing.md→/testing/
You can use the sandbox with your local copy of vexflow-debug.js.
Start a web server from the vexflow/ repository's root directory: npx http-server
Navigate to http://localhost:8080/tests/sandbox.html
The sandbox.html page wraps this site in an <iframe>. It will then load the local build from http://localhost:8080/build/cjs/vexflow-debug.js