nuxt-tawk-to
v1.4.1
Published
Nuxt module for integrating Tawk.to live chat widget.
Maintainers
Readme
nuxt-tawk-to
Nuxt module for integrating Tawk.to live chat widget. Works with Nuxt 3 and Nuxt 4.
Quick Setup
npm install nuxt-tawk-toAdd the module and your credentials to nuxt.config.ts:
export default defineNuxtConfig({
modules: [
'nuxt-tawk-to'
],
tawkTo: {
propertyId: 'YOUR_PROPERTY_ID',
widgetId: 'YOUR_WIDGET_ID',
}
})That's it! The Tawk.to widget will be injected automatically. ✨
For advanced usage (embedId, autoStart) and the full API reference, visit the documentation.
Contribution
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release