Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My mashup was working, but now I can't get the Qlik javascript file to load correctly.
I started using RequireJS to load my local libraries, but now it can't find the Qlik javascript at the "js/Qlik" path anymore. I can find a file using the path "../../resources/js/qlik". However this file does not export anything from the "define" function, so the Qlik variable is undefined.
I have not changed the requirejs configuration.
What is the correct path to the Qlik.js import?
define(["../../resources/js/qlik"], function(qlik) { console.log('qlik', qlik); });
Thanks.
Apparently this was because I moved my configuration into a different file. When I moved my RequireJS configuration into the main HTML file, it worked again.
Apparently this was because I moved my configuration into a different file. When I moved my RequireJS configuration into the main HTML file, it worked again.