How to use Plausible right? TypeError: context.call is not a function #555
Replies: 4 comments 2 replies
|
Is the issue, that 0.13.0 works with Nuxt v4, but I'm on Nuxt 3.16.0? |
|
Hey this seems like a bug would you be able to make an issue and we can investigate 🙏 |
|
Hey — bumping this. We never got a repro issue and the |
|
Tried to reproduce on current Your earlier comment hinted this was likely a 0.13.0 + Nuxt 3.16 compatibility thing, which lines up with what I'm seeing now. Closing as outdated — please open a fresh issue with a repro if you still hit this on a current version 🙏 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey guys,
I have a nuxt application for my frontend and use several layers (I don't use JS/Nuxt for backend purposes). Right now my structure is as this:
All three apps extend the nuxt.config from the packages/core layer. I installed nuxt scripts to the packages/core layer and did this:
Then in the nuxt config of the firstApp and secondApp I did this (in the third app doesn't need plausible and I don't use the scripts key in the config):
When I use it in my component now like this:
I get this error in the console:
What did I do wrong? When I use it like this:
The error is gone, but no event is being sent. According to the docs, it should simply work like in the first case. Does anybody has an idea?
All reactions