Skip to content

crsten/vue-godfather

Repository files navigation

VueGodfather

Commitizen friendly Build Status npm npm

Vue directive wrapper for godfather

Demo

Check out a simple 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

About

Vue directive wrapper for godfatherjs

Resources

Stars

Watchers

Forks

Packages

No packages published