Skip to content

Commit

Permalink
refactor(component)!: rename to <NuxtTurnstile> (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli authored Apr 4, 2023
1 parent 0510083 commit c01435d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<button @click="toggle = !toggle">Load Turnstiles</button>
<form @submit.prevent="onSubmit">
<h2>Using vue model</h2>
<Turnstile v-if="toggle" v-model="token" :options="{ action: 'vue' }" />
<NuxtTurnstile v-if="toggle" v-model="token" :options="{ action: 'vue' }" />
<input type="submit" />
</form>
<pre>{{ response1 }}</pre>
<hr />
<form @submit.prevent="onNativeSubmit">
<h2>Using native form</h2>
<Turnstile v-if="toggle" ref="turnstile" :options="{ action: 'native' }" />
<NuxtTurnstile v-if="toggle" ref="turnstile" :options="{ action: 'native' }" />
<input type="submit" />
</form>
<button @click="turnstile.reset()">Reset</button>
Expand Down
File renamed without changes.

0 comments on commit c01435d

Please sign in to comment.