Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaokaike/vue-clipboard
vue-clipboard clipboard directly for Vue.js
https://github.com/xiaokaike/vue-clipboard
Last synced: 2 days ago
JSON representation
vue-clipboard clipboard directly for Vue.js
- Host: GitHub
- URL: https://github.com/xiaokaike/vue-clipboard
- Owner: xiaokaike
- Created: 2016-05-12T12:08:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-28T07:51:14.000Z (over 7 years ago)
- Last Synced: 2025-01-02T05:09:30.373Z (10 days ago)
- Language: JavaScript
- Homepage: http://xiaokaike.github.io/vue-clipboard/
- Size: 302 KB
- Stars: 152
- Watchers: 4
- Forks: 27
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vue-cn - vue-clipboard
- awesome-vue - vue-clipboard - clipboard?style=social) - VueJS的剪贴板 (实用库)
- awesome-github-vue - vue-clipboard - VueJS的剪贴板 (实用库)
- awesome-github-vue - vue-clipboard - VueJS的剪贴板 (实用库)
- awesome - vue-clipboard - VueJS的剪贴板 (实用库)
README
# vue-clipboard
> clipboard directly for Vue.js## [Live demo](http://xiaokaike.github.io/vue-clipboard/)
## Installation
### NPM
```bash
$ npm install vue-clipboard
```## Usage
#### Using the `v-touch` directive
```js
var VueClipboard = require('vue-clipboard')Vue.use(VueClipboard)
new Vue({
data: {
copyData: 'copy data'
}
})
``````html
Copy```