Is it possible to use the issue collector in React without jQuery?
I have read all of the issue collector questions here and have looked at examples in GitHub with no luck.
My next attempted will be to just use the API and create my own dialogs, but Id rather use whats available if possible.
Without jQuery I get `Uncaught ReferenceError: jQuery is not defined`. I assume it's required by the issue collector then.
Had a simular like issue with VueJS.
In VueJS you can add VanillaJS like this:
mounted() { let recaptchaScript = document.createElement('script') recaptchaScript.setAttribute('src', '{{Atlassian.net_collector_url}}') document.head.appendChild(atlassianScript) },
Source that helped:
https://stackoverflow.com/questions/56411378/how-to-add-vanilla-javascript-to-vue-js-project
Hope this will help someone out searching for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here, our application works with VueJs and without jQuery. It were fine, when the collector is written in Vanilla JS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.