moritzsternemann / vue-plausible

Plausible Analytics Vue.js Plugin and NuxtJS Module
MIT License
120 stars 8 forks source link

Add missing default value for the apiHost setting of the nuxt plugin #4

Closed BeWe11 closed 3 years ago

BeWe11 commented 3 years ago

The Nuxt plugin creates its own default options object. These default options are missing a value for the apiHost key, requiring the user to explicitly set its value to https://plausible.io, even though this is probably the desired value for most users.

Atinux commented 3 years ago

I confirm this issue @moritzsternemann

Any luck we can see this one merged?

moritzsternemann commented 3 years ago

Sorry, somehow I missed this PR... thanks for the fix!

Atinux commented 3 years ago

Awesome, thanks for the reactivity @moritzsternemann

Don't forget to publish a new npm version :)