0.4.0 • Published 5 years ago
tanana v0.4.0
player
Music sheet web component. The npm tanana package.
Usage
<meta charset="utf-8">
<title>tanana-player demo</title>
<!-- you'll need the vue script 334Kb -->
<script src="https://unpkg.com/vue"></script>
<!-- plus our script 1.4MB -->
<script src="node_modules/tanana/dist/tanana-player.min.js"></script>
<!-- then you can use the web component, like this -->
<tanana-player music-xml="path/to/sheet.xml"></tanana-player>The required music-xml attribute is a music xml file. We plan on releasing a npm package converter from other popular music score software file formats.
Project setup
Please use nvm to avoid node version conflicts between your local projects
nvm use
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildTests web component being used
npm run wc-testLints and fixes files
npm run lintContributing
Please develop and run tests in the test folder.
npm test