<script setup>
...
import { useClipboard } from '@vueuse/core'
const { copy } = useClipboard({});
</script>
<template>
<tr v-for="item in bdMan" :key="item.title">
<td
@dblclick="copy(item.title)"
>{{item.title}}</td>
PS D:\Openserver\OpenServer\domains\KTS-STUDIO\wd1> npx create-react-app react-dom
You are running Node 13.14.0.
Create React App requires Node 14 or higher.
Please update your version of Node.
PS D:\Openserver\OpenServer\domains\KTS-STUDIO\wd1> npm install create-react-app
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN saveError ENOENT: no such file or directory, open 'D:\Openserver\OpenServer\domains\KTS-STUDIO\wd1\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for create-react-app@5.0.0: wanted: {"node":">=14"} (current: {"node":"13.14.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: create-react-app@5.0.0
npm WARN enoent ENOENT: no such file or directory, open 'D:\Openserver\OpenServer\domains\KTS-STUDIO\wd1\package.json'
npm WARN wd1 No description
npm WARN wd1 No repository field.
npm WARN wd1 No README data
npm WARN wd1 No license field.
+ create-react-app@5.0.0
added 67 packages from 26 contributors and audited 67 packages in 25.799s
4 packages are looking for funding
run `npm fund` for details
found 5 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
Но ни один метод сlipboard у меня не сработал в чистую.
Может конечно я что-то не понимаю во vue3.
Но учусь методом проб и шибок)