diff --git a/src/App.vue b/src/App.vue index 94ecb5c..e408801 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,7 +13,9 @@ import { provide, ref } from 'vue'; import { RouterLink, RouterView } from 'vue-router' const chordProInput = ref(''); +const format = ref('chordpro'); provide('chordProInput', chordProInput); +provide('format', format); import('@/assets/sample-chart.js') .then(({ sampleChordProChart }) => { diff --git a/src/components/ChordChart.vue b/src/components/ChordChart.vue index fcf14a6..9960477 100644 --- a/src/components/ChordChart.vue +++ b/src/components/ChordChart.vue @@ -46,7 +46,7 @@