Closed genusP closed 6 years ago
Hi @genusP , could you please share your requirejs config?
You can find an example configuration file here - https://github.com/jaystack/jaydata-odata-example/blob/master/app/main.js
Hi @robesz.
requirejs.config({
baseUrl: "/Scripts/",
paths: {
"jquery": "libs/jquery/dist/jquery",
"knockout": "libs/knockout/dist/knockout.debug",
"jaydata/core": "jaydata/jaydata",
"jaydata/odata": "jaydata/jaydataproviders/oDataProvider",
"jaydata/modules/knockout": "jaydata/jaydatamodules/knockout",
"jaydatacontext": "../jaydatacontext"
}
});
require(["jquery", "knockout","jaydata/modules/knockout"],
function ($, ko) {
});
I load knockoutjs as AMD-module. When i added jaydatamodules/knockout then throws error: Knockout js is required