Not able to import external js file in to VBCS
Summary
Not able to import external js file in to VBCSContent
HI,
I have followed the below url and tried, its not working for me.
Imported gl-matrix.js as shown in attached file.
Below is the js code.
define(["flows/main/resources/gl-matrix"],
function(glmatrix) {
'use strict';
var PageModule = function PageModule() {};
PageModule.prototype.testFun = function() {
var filesArr = [];
var myVce3 = glmatrix.vec3.create();
glmatrix.vec3.set(myVce3, 0, 2.0);
return myVce3;
}
return PageModule;
});
But I'm getting the below error.
1