createRecaptcha() {
var s = document.createElement("script");
s.setAttribute("src", "https://www.google.com/recaptcha/api.js");
s.setAttribute("async", "async");
s.setAttribute("defer", "defer");
document.body.appendChild(s);
}
<template>
<script
v-if="jquery"
src="http://code.jquery.com/jquery-3.6.0.min.js"
defer
/>
</template>