Open edellaq opened 5 years ago
Its very easy. Try it out on CodeSandbox!
<script>
import teoria from "teoria";
const note = teoria.note;
const int = teoria.interval;
export default {
name: "HelloWorld",
computed: {
note() {
return note("a4")
.interval('m3')
.chord('m#11').simple()
}
}
};
</script>
I'm trying to use teoria within a Single Page Application I'm (re)writing using Vue.js... Any suggestion on how to proceed importing the various modules?