v-clappr-player
v0.1.2
Published
![logo](https://v-clappr-player.netlify.app/logo.svg)
Downloads
3
Readme
Component wrapper for ClapprPlayer.
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