Score setup and basic functionality #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dresche/bach-violin-project:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To get these changes on your computer, run:
And the open
http://localhost:3000in your browser.Have a look on the
~/content/piecesdirectory. Here is for each piece a small configuration file so you can display them later on as a list on the website.The
~/layout/default.vueis the basic grid setup for the website. I added a gray header and footer for you. You can improve them yourself. Also have a look to~/components/TheHeader.vue,~/components/TheFooter.vue,~/components/TheNavigation.vue.In the
~/pages/directory you can find a file for each page of the website. They directory structure will be used in the URL of the website. In~/pages/pieces/[id|.vuethe[id]is a dynamic route parameter where you can pass the filename of the pieces that you can find in~/content/pieces/…but without the.yamlextension.In the same file you can find a computed property
formattedScorewhere you can manipulate the score and turn on and off all the options the we discussed. I added two of the options for you. The rest we can work in the following weeks.Also note that the directory
bach-solo-violin-sonatas-partitasis now a git submodule that is directly included into your project. So whenever you change the scores in thebach-solo-violin-sonatas-partitasgit repository you need to run thegit submodule update --recursivecommand to get the newest scores into your project website as well.