Closed atinux closed 3 years ago
Hi @moritzsternemann
Great work on this module, I think it would be nice to support a plausible property in the nuxt.config.js as option: https://github.com/moritzsternemann/vue-plausible/blob/main/src/nuxt-module.ts#L6
plausible
nuxt.config.js
We usually use defu for handling defaults options and merging with moduleOptions , see example on https://github.com/bdrtsky/nuxt-ackee/blob/master/lib/module.js#L2-L17
moduleOptions
Hey @Atinux!
I was actually already looking into adding support for the plausible property, thanks for pointing me in the right direction! This fill find it's way into the next release 👍
Hi @moritzsternemann
Great work on this module, I think it would be nice to support a
plausible
property in thenuxt.config.js
as option: https://github.com/moritzsternemann/vue-plausible/blob/main/src/nuxt-module.ts#L6We usually use defu for handling defaults options and merging with
moduleOptions
, see example on https://github.com/bdrtsky/nuxt-ackee/blob/master/lib/module.js#L2-L17