import clipboard.js cdn
snippet in html

import clipboard.js cdn

user3676

<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js"></script>