vue-godfather
v1.0.0
Published
Vue directive wrapper for godfatherjs
Downloads
6
Readme
VueGodfather
Vue directive wrapper for godfather
Demo
Installation
npm install vue-godfather
import syntax
import Godfather from 'vue-godfather'
new Vue({
//...
directives: {
Godfather: Godfather,
},
//...
})
In browser
new Vue({
//...
directives: {
Godfather: VueGodfather,
},
//...
})
Usage
<div v-godfather="{ id: 'YourID', options: { ...options as in godfather } }">
<!--Your content-->
</div>
Options are based on options from godfather
Development & Testing
npm run dev
starts webpack with watch mode.
License
The MIT License Copyright (c) Carsten Jacobsen