This PR moves the script section of the Composition API snippets to the top, above the template section. I understand that this change is very subjective, so if the current layout is preferred, feel free to close this PR.
Feel free to make suggestions. Another possibility would be have separate snippets where the script section is at the top and keeping the originals. If that would be preferable, I'll happily adjust this PR so we have both styles :)
This PR moves the script section of the Composition API snippets to the top, above the template section. I understand that this change is very subjective, so if the current layout is preferred, feel free to close this PR.
Feel free to make suggestions. Another possibility would be have separate snippets where the script section is at the top and keeping the originals. If that would be preferable, I'll happily adjust this PR so we have both styles :)