Facebook Account Kit is being deprecated: read more https://developers.facebook.com/docs/accountkit/
A Vue.js Plugin
npm install --save vue-facebook-account-kit
import Vue from 'vue'
import AccountKit from 'vue-facebook-account-kit'
Vue.use(AccountKit)
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>
https://github.com/biessek/fb-account-kit-example
npm run dev
npm run dev:coverage
Bundle the js of to the dist
folder:
npm run build
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