nuxt-intercom

Intercom Module for Nuxt.js
🚀 Demo Site available here
📖 Release Notes
Setup
- Add
@hexdigital/nuxt-intercom
dependency to your project
yarn add @hexdigital/nuxt-intercom
Add @hexdigital/nuxt-intercom
to the buildModules section of nuxt.config.js
{
buildModules: [
'@hexdigital/nuxt-intercom',
],
intercom: {
appId: 'XXXXXXXXXX',
},
}
Options
Defaults:
const defaults = {
appId: null,
autoBoot: true,
debug: false,
config: {},
scriptId: 'intercom-script',
scriptDefer: false,
updateOnPageRoute: true
};
Usage
Development
- Clone this repository
- Install devDependencies using
yarn install
- Start development server using
yarn dev
or INTERCOM_ID=<your intercom id> yarn dev
if you want to provide customer INTERCOM_ID.
License
MIT License
Copyright (c) Hex Digital