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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.