Skip to content

Commit

Permalink
docs: vue3 install example fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongkyuuuu committed Sep 13, 2023
1 parent 6335274 commit 5fa631b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ import App from "./App.vue";

import { install } from "vue3-recaptcha-v2";

createApp(install, {
sitekey: "YOUT_SITE_KEY",
cnDomains: false, // Optional, If you use in China, set this value true
}).mount("#app");
createApp(App)
.use(install, {
sitekey: "YOUT_SITE_KEY",
cnDomains: false, // Optional, If you use in China, set this value true
})
.mount("#app");
```

In `Nuxt3`, add it to your `plugin folder`:
Expand Down

0 comments on commit 5fa631b

Please sign in to comment.