diff --git a/package-lock.json b/package-lock.json index 72e3751..038ab69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "vue-project", "version": "0.0.0", "dependencies": { + "chordsheetjs": "10.1.0", "vue": "^3.4.29", "vue-router": "^4.3.3" }, @@ -1573,6 +1574,17 @@ "node": ">= 6" } }, + "node_modules/chordsheetjs": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/chordsheetjs/-/chordsheetjs-10.1.0.tgz", + "integrity": "sha512-Ay3g9pLVvfWj2nown6dNo8DAQNc13RzPjigNlfw0nLnEnQxwBy/8tw+5m++dFEuKIZyj8R5Ysrf9MB0JayACYg==", + "dependencies": { + "lodash.get": "^4.4.2" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -2938,6 +2950,11 @@ "dev": true, "license": "MIT" }, + "node_modules/lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==" + }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz", diff --git a/package.json b/package.json index aa78ad6..7e92a97 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "format": "prettier --write src/" }, "dependencies": { + "chordsheetjs": "10.1.0", "vue": "^3.4.29", "vue-router": "^4.3.3" }, diff --git a/src/components/ChordChart.vue b/src/components/ChordChart.vue index e5d3452..085970d 100644 --- a/src/components/ChordChart.vue +++ b/src/components/ChordChart.vue @@ -26,24 +26,19 @@ class="chordchart-body" :style="{ '--chordchart-columns': columns }" > -
- -
+ :paragraph="paragraph" + /> diff --git a/src/components/ChordChartBodyParagraph.vue b/src/components/ChordChartBodyParagraph.vue new file mode 100644 index 0000000..5422f2c --- /dev/null +++ b/src/components/ChordChartBodyParagraph.vue @@ -0,0 +1,28 @@ + + + + + diff --git a/src/components/ChordChartChordLyricsPair.vue b/src/components/ChordChartChordLyricsPair.vue new file mode 100644 index 0000000..ea832df --- /dev/null +++ b/src/components/ChordChartChordLyricsPair.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/src/components/ChordChartLine.vue b/src/components/ChordChartLine.vue new file mode 100644 index 0000000..79c1f10 --- /dev/null +++ b/src/components/ChordChartLine.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/src/components/ChordChartLineItem.vue b/src/components/ChordChartLineItem.vue new file mode 100644 index 0000000..331a79d --- /dev/null +++ b/src/components/ChordChartLineItem.vue @@ -0,0 +1,25 @@ + + + diff --git a/src/components/ChordChartTag.vue b/src/components/ChordChartTag.vue new file mode 100644 index 0000000..42e9496 --- /dev/null +++ b/src/components/ChordChartTag.vue @@ -0,0 +1,39 @@ + + + + +