0.1.2 • Published 3 years ago

v-clappr-player v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

logo

npm npm npm

Component wrapper for ClapprPlayer.

Documentation

Installing

npm install --save v-clappr-player

# or

yarn add v-clappr-player

Import globally in app

import VClapprPlayer from 'v-clappr-player';

Vue.use(VClapprPlayer);

Import into your component

import VClapprPlayer from 'v-clappr-player'

// add to component
export default {
  components: {
    VClapprPlayer,
  }
}

Installing on Nuxt

// plugins/v-clappr-player.js
import Vue from 'vue'
import VClapprPlayer from 'v-clappr-player'

Vue.use(VClapprPlayer)
// nuxt.config.js
export default {
  ...
  plugins: [
    { src: '~/plugins/v-clappr-player', ssr: false }
  ],
  ...
}

License

This project is licensed under the MIT License - see the LICENSE file for details