Copying the selected text from the webpage or input HTML element is easy with the keyboard shortcut CTRL+C and context menu.
To make it little easier for the user you can add a button.
For copy text to the clipboard in Vue.js, you can use the vue-clipboard2 package.
In this tutorial, I show how you can copy text from an HTML element on a button click to the clipboard.