Skip to content

SebasProgrammer2020/vue-fb-customer-chat

 
 

Repository files navigation

Vue Fb Customer Chat

npm npm npm Average time to resolve an issue Percentage of issues still open

Facebook Customer Chat Plugin for Vue.js

Demo

https://dmnwebdesign.github.io/vue-fb-customer-chat/

Installation

Install using npm

$ npm install vue-fb-customer-chat

Install using yarn

$ yarn add vue-fb-customer-chat

Usage

For Vue.js projects.

import Vue from 'vue'
import VueFbCustomerChat from 'vue-fb-customer-chat'

Vue.use(VueFbCustomerChat, {
  page_id: null, //  change 'null' to your Facebook Page ID,
  theme_color: '#333333', // theme color in HEX
  locale: 'en_US', // default 'en_US'
})

For Nuxt.js projects.

Create 'plugins/vue-fb-customer-chat.js'

import Vue from 'vue'
import VueFbCustomerChat from 'vue-fb-customer-chat'

Vue.use(VueFbCustomerChat, {
  page_id: null, //  change 'null' to your Facebook Page ID,
  theme_color: '#333333', // theme color in HEX
  locale: 'en_US', // default 'en_US'
})

Add plugin in nuxt.config.js file for plugins section

plugins: [
  { src: '~/plugins/vue-fb-customer-chat.js', ssr: false }
],

About

Facebook Customer Chat Plugin for Vue.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.7%
  • Vue 38.1%
  • HTML 6.5%
  • Shell 4.7%