Within my index.ts
file, I am setting up the configuration for the Google reCAPTCHA component using a specific sitekey:
Vue.use(VueReCaptcha, {
siteKey: 'my_redacted_sitekey'
});
This setup occurs prior to the initialization of the new Vue({ ... })
.
I prefer not to hardcode the siteKey in the index.ts
file as it would require redeployment if it were to change.
Is there a way to externalize this value to a config file and reference it here, or is this not achievable before creating the new Vue({})
instance?
Thank you in advance