nuxt-trengo
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Nuxt Trengo Module

Installation

  • npm install nuxt-trengo

Usage

import { defineNuxtConfig } from 'nuxt/config';

export default defineNuxtConfig({
  modules: ['nuxt-trengo'],
  
  trengo: {
    key: 'YOUR_TRENGO_WIDGET_KEY',
  },
});

Configurations

export interface ModuleOptions {
  addPlugin: boolean // If plugin from module should be loaded;
  key: string // Trengo Key;
  hideWidget: boolean // see Appearance in trengo docs;
  hideGifPicker: boolean // see Appearance in trengo docs;
  hideEmojiPicker: boolean // see Appearance in trengo docs;
  hideFilePicker: boolean // see Appearance in trengo docs;
  hidePanelHeader: boolean // see Appearance in trengo docs;
  hideOnlineStatus: boolean // see Appearance in trengo docs;
  delay: number; // delay after load of dom to display widget
  detectPageChange: boolean // detect page change for spa;
  extraOffsetX: number | null // see Appearance in trengo docs;
  extraOffsetY: number | null // see Appearance in trengo docs;
}

Description

This widget will display the trengo widget on your website.

Readme

Keywords

Package Sidebar

Install

npm i nuxt-trengo

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

6.04 kB

Total Files

11

Last publish

Collaborators

  • mees018299