Vue directive wrapper for godfather
npm install vue-godfather
import Godfather from 'vue-godfather'
new Vue({
//...
directives: {
Godfather: Godfather,
},
//...
})
new Vue({
//...
directives: {
Godfather: VueGodfather,
},
//...
})
<div v-godfather="{ id: 'YourID', options: { ...options as in godfather } }">
<!--Your content-->
</div>
Options are based on options from godfather
npm run dev
starts webpack with watch mode.
The MIT License Copyright (c) Carsten Jacobsen