vue-facebook-account-kit

0.1.2 • Public • Published

AccountKit

npm vue2

A Vue.js Plugin

Installation

npm install --save vue-facebook-account-kit

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'
import AccountKit from 'vue-facebook-account-kit'
Vue.use(AccountKit)

Browser

Recomended: Use the facebook version directly instead.

<!-- Include after Vue -->
<!-- Local files -->
<script src="vue-facebook-account-kit/dist/vue-facebook-account-kit.js"></script>

<!-- From CDN -->
<script src="https://unpkg.com/vue-facebook-account-kit"></script>

Small example

https://github.com/biessek/fb-account-kit-example

Development

Launch visual tests

npm run dev

Launch Karma with coverage

npm run dev:coverage

Build

Bundle the js of to the dist folder:

npm run build

Publishing

The prepublish hook will ensure dist files are created before publishing. This way you don't need to commit them in your repository.

# Bump the version first
# It'll also commit it and create a tag
npm version
# Push the bumped package and tags
git push --follow-tags
# Ship it 🚀
npm publish

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i vue-facebook-account-kit

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

74.9 kB

Total Files

9

Last publish

Collaborators

  • biessek