vue-facebook-login-button-directive
🔐 A simple Vue directive to include Facebook Sign-In Button behavior in any component.
Install
$ npm install --save vue-facebook-login-button-directive $ yarn add vue-facebook-login-button-directive
Usage
Import the directive and attach it to any component, let's give you an example:
Important:
OnFacebookAuthSuccess
andOnFacebookAuthFail
are mandatory methods you have to declare in your component where you are using the directive.
Continue with Facebook