Install the live chat widget on Nuxt
XACUBE puts a live chat widget on your Nuxt site, so your live agents can answer visitors the moment they ask, from one shared inbox. The free plan covers one agent.
- Add the script to
nuxt.config.ts. - Publish your site. The chat appears on every page.
export default defineNuxtConfig({
app: {
head: {
script: [{ src: 'https://chat.xacube.chat/w.js', 'data-key': 'YOUR_PUBLIC_KEY', async: true }]
}
}
})Replace YOUR_PUBLIC_KEY with your own key. In your panel, open your website and this code is shown with your key already in it.