dogchef-be / nuxt-intercom Goto Github PK
View Code? Open in Web Editor NEW๐ฌ NuxtJS module for Intercom
License: MIT License
๐ฌ NuxtJS module for Intercom
License: MIT License
I'm trying to integrate nuxt-intercom into my Nuxt 3 App, however I get the errors..
Error compiling template: {
src: '/Users/*****/node_modules/nuxt-intercom/dist/plugin.js',
ssr: false,
options: {
disabled: false,
hideDefaultLauncher: false,
alignment: 'right',
horizontalPadding: 20,
verticalPadding: 20,
enableMobilePadding: false,
i18n: false,
appId: '*****'
},
filename: 'dist.plugin.42eff2bb.js',
dst: '/Users/mitsuki/Dev/storyblok/.nuxt/dist.plugin.42eff2bb.js'
}
ERROR Cannot start nuxt: settings is not defined
at eval (eval at <anonymous> (node_modules/lodash.template/index.js:1550:12), <anonymous>:22:10)
....
Hi there. Thanks for this module.
I was having issues getting the intercom button to show up as the 2 step getting started guide doesn't mention the fact that $intercom()
is required at least once for the intercom scripts to load. I think this should be mentioned somewhere to save others the time of figuring it out.
Happy to submit a PR, but I wasn't sure what the recommended approach should be. In the end - we just put it in a mounted
call on our layout component.
I am trying to get this to work in Nuxt3 to no avail, is there something I am missing or does it not support Nuxt3 yet?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.