I was trying to integrate Dojo JS library with Drupal 8.
I added the library in themes/custom folder and gave its reference in the libraries.yml file.
But this doesnt work. In console i get error as :
Uncaught ReferenceError: Backbone is not defined
Uncaught TypeError: Cannot read property ‘util’ of undefined
Uncaught ReferenceError: domready is not defined
Uncaught TypeError: Cannot read property ‘toLowerCase’ of null
I just want some inputs if its compatible with Drupal 8 ?
If anybody has integrated this earlier, can you please provide some inputs on how to integrate ?
Strange is, it is loading for the first time but if we load the page again, i get bunch of errors in console.
Any help is much appreciated.