Socket
Book a DemoInstallSign in
Socket

@hexdigital/nuxt-intercom

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hexdigital/nuxt-intercom

Intercom Module for Nuxt.js

0.0.10
latest
Source
npmnpm
Version published
Weekly downloads
177
-11.5%
Maintainers
4
Weekly downloads
 
Created
Source

nuxt-intercom

npm version npm downloads Circle CI Codecov License

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 # or npm install @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, // Intercom ID
  autoBoot: true, // True to boot messenger widget and show UI on page load, false to allow manually booting later
  debug: false, // True to show debug messages in the console, useful for development, false to not show them

  config: {}, // Object to specify messenger attributes to configure when booting. see https://developers.intercom.com/installing-intercom/docs/javascript-api-attributes-objects#section-messenger-attributes

  scriptId: 'intercom-script', // String to identfy the script tag, for vue-meta
  scriptDefer: false, // True to defer loading intercom widget javascript until page loads, false to async load it in document flow

  updateOnPageRoute: true // True to call intercom's 'update' method on route change, false to not do this
};

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

FAQs

Package last updated on 14 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.