Defer execution until external script has loaded in Vue.js
okay, here's a theory: add data properties
captchaReady: false, checkingInterval: null,
created
let localThis = this this.checkingInterval = setInterval(function(){ if (window.grecaptcha) { localThis.captchaReady = true }}, 500) //or whatever interval you want to check
Then
watch: { captchaReady: function(data) { if (data) { clearInterval(this.checkingInterval) this.render() } }}