1.0.0 • Published 6 years ago

vue-godfather v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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