Looking to create a button that can copy a piece of code currently visible on the screen for a code catalog app built with vue.js.
After utilizing the vue clipboard library and implementing the following code in the example component:
<div class="full-screen-code-snippet">
{{ example.codeSnippet }}
</div>
<div class="full-screen-copy-button">
<button v-clipboard:copy="example.codeSnippet"></button>
</div>
The code snippet is displaying correctly, but the button isn't appearing as expected. What could be causing this issue? How can I resolve it?