Skip to content
This repository was archived by the owner on Sep 10, 2019. It is now read-only.

biessek/vue-facebook-account-kit

Repository files navigation

DEPRECATED AccountKit

Facebook Account Kit is being deprecated: read more https://developers.facebook.com/docs/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

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy