Closed vejja closed 4 months ago
Probably similar to #115
Tentatively blaming https://github.com/nuxt/scripts/blob/db571cf4b4d00b0c080ccce88988bb5ec01a02c8/src/module.ts#L216
Thanks for the report, this is indeed a duplicate of #115.
However, I will note that we can only support serializable data within the nuxt config. So anything using functions isn't supported, I've included type improvements around this.
I'm putting some more thought into the API around the globals so may look a bit different soon.
Ok understood Let’s close then?
I'm trying to load CF Turnstile with the following configuration :
I'm getting the following error:
Looks like an extra closing bracket is being inserted at the end of the
useScript
function in the virtual plugin ?