2593ebe43c687beb251df5fe10ea131939da197c.svn-base 273 B

12345678910111213
  1. import Clipboard from './clipboard'
  2. const install = function(Vue) {
  3. Vue.directive('Clipboard', Clipboard)
  4. }
  5. if (window.Vue) {
  6. window.clipboard = Clipboard
  7. Vue.use(install); // eslint-disable-line
  8. }
  9. Clipboard.install = install
  10. export default Clipboard