Copied from https://stackoverflow.com/q/55593449/1399272
I am trying to develop with Kendo React in a .NET Web Forms application. It looks like Kendo distributes their packages as a variety of JavaScript modules -- the dist folder in their node packages contains the following four subfolders:
- cdn/js
- es
- npm
- systemjs
I'm sure this is relatively painless to work with in some of the newer JavaScript systems, but I do not have access to utilities such as node.js to manage modules. I am trying to simply include a JavaScript file with a script tag, but so far have not had much luck. I get the following errors when trying to include @progress/kendo-react-common:
- cdn/js: Uncaught TypeError: Cannot read property 'string' of undefined
- es: Uncaught SyntaxError: Unexpected token { (not like I expect a raw browser to understand import anyway)
- npm: Uncaught ReferenceError: exports is not defined
- systemjs: Uncaught ReferenceError: System is not defined
It looks like @TylerDahle has done something similar here: https://stackoverflow.com/q/49740869/1399272. But I don't know where he gets his source from.
Is there any way to include a Kendo React script with a script tag?