Once the module is registered in nuxt.config.ts, it automatically handles the injection of the Tawk.to widget script.
The module exposes your configuration options through Nuxt's public runtime config. This is useful if you need to access your propertyId or widgetId programmatically within your components or composables.
<script setup lang="ts">
const config = useRuntimeConfig()
// Access Tawk.to configuration
console.log('Tawk Property ID:', config.public.tawkTo.propertyId)
console.log('Tawk Widget ID:', config.public.tawkTo.widgetId)
</script>
Since the module provides TypeScript support, config.public.tawkTo will be fully typed, offering autocomplete for all available options.