We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know how to use this.
I feel I you need a minimal working example usage right in the beginning.
I have one request and a couple of questions.
First the request. Can you write a minimal working example usage of this in a nuxt form/component?
Assuming I have the flag addValidateEndpoint turned on, my questions are:
addValidateEndpoint
<NuxtTurnstile v-model="token" />
My question is, do I need to generate this token or can I just remove this v-model? If I need to generate tokens, can you show an example of how?
<template> <NuxtTurnstile ref="turnstile" /> <button @click="turnstile.reset()">Reset token in template</button> <button @click="reset()">Reset token from handler</button> </template> <script setup> // you can call this template ref anything const turnstile = ref() function reset() { turnstile.value?.reset() } </script>
I don't understand much here. Do I need to do this?
Thanks.
The text was updated successfully, but these errors were encountered:
You can see an example here: https://github.com/nuxt-modules/turnstile/blob/main/playground/pages/index.vue
Sorry, something went wrong.
I always look for the "example" directory. Will have to start looking for playground as well for nuxt projects at least. Thanks.
No branches or pull requests
📚 Is your documentation request related to a problem?
I don't know how to use this.
🔍 Where should you find it?
I feel I you need a minimal working example usage right in the beginning.
ℹ️ Additional context
I have one request and a couple of questions.
First the request. Can you write a minimal working example usage of this in a nuxt form/component?
Assuming I have the flag
addValidateEndpoint
turned on, my questions are:My question is, do I need to generate this token or can I just remove this v-model? If I need to generate tokens, can you show an example of how?
I don't understand much here. Do I need to do this?
addValidateEndpoint
turned on?Thanks.
The text was updated successfully, but these errors were encountered: