nuxt-trengo
v1.0.0
Published
## Installation
Downloads
1
Readme
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.