papamonkey / vue-tawk

wrapper of tawk
MIT License
25 stars 21 forks source link

Integration with nuxt #7

Open wachroberts opened 4 years ago

wachroberts commented 4 years ago

How to use this plugin with nuxt

kadekjayak commented 3 years ago

make plugin for it for example:

file: plugins/tawk.js

import Vue from 'vue';
import Tawk from 'vue-tawk';

Vue.use(Tawk, {
    tawkSrc: 'EMBED_URL'
})

and then load that plugin on your nuxt.config.js

plugins: [
        { src: '~/plugins/tawk', ssr: false },
],
RonnieCSE commented 3 years ago

Working Fine

Thanks