(function (global) {
System.config({
paths: {
// paths serve as alias
},
// map tells the System loader where to look for things
map: {
'react': "https://unpkg.com/react@15.5.4/dist/react.min.js"
'react-dom': 'https://unpkg.com/react-dom@15.5.4/dist/react-dom.min.js',
"@syncfusion/ej2-base": "https://cdn.syncfusion.com/ej2/ej2-base/dist/ej2-base.umd.min.js",
"@syncfusion/ej2-buttons": "https://cdn.syncfusion.com/ej2/ej2-buttons/dist/ej2-buttons.umd.min.js",
"@syncfusion/ej2-react-base": "https://cdn.syncfusion.com/ej2/ej2-react-base/dist/ej2-react-base.umd.min.js",
"@syncfusion/ej2-react-buttons": "https://cdn.syncfusion.com/ej2/ej2-react-buttons/dist/ej2-react-buttons.umd.min.js",
},
bundles: {
},
// packages tells the System loader how to load when no filename and/or no extension
packages: {
}
});
})(this); |
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/6.1.2/system.min.js” script>
<script src="./systemjs.config.js"></script> |