N
Nuxt2y ago
Helgi

Issue with @nuxtjs/recaptcha

I am trying to add @nuxtjs/recaptcha to my Nuxt 3 project. I am adding the module like this
export default defineNuxtConfig({
...
modules: [
[
"@nuxtjs/recaptcha",
{
siteKey: "",
version: 3,
},
],
],
...
});
export default defineNuxtConfig({
...
modules: [
[
"@nuxtjs/recaptcha",
{
siteKey: "",
version: 3,
},
],
],
...
});
But I keep getting the error: Cannot start nuxt: Cannot read property 'options' of undefined I've tried the different variations described in the @nuxtjs/recaptcha docs, but none seem to work. Does anyone have any pointers?
2 Replies
manniL
manniL2y ago
I don't think that the module is has support for Nuxt 3 yet
Helgi
HelgiOP2y ago
Oh, so maybe adding this functionality manually is the way to go then 🤔
Want results from more Discord servers?
Add your server