lucaslacr / Nuxt3-Matomo

Tutorial and code to add Matomo to a nuxt 3 project - no longer maintained
MIT License
13 stars 1 forks source link

Nuxt3 nuxt.config #2

Closed vincent41 closed 9 months ago

vincent41 commented 1 year ago

i see you add plugin to your nuxt.config it is not necessary The plugins directory, each file of which will be auto-registered as a Nuxt 3 plugin.

arashsheyda commented 1 year ago

and if you want your plugin to work only in client side, just add .client to the name of the file e.g. super-matomo-plugin.client.ts