HI,
I am developing an application (MVC Core) in Angular2 (with typescript).
I don't know why its loading time is slow ?
I am using like this .
<!DOCTYPE html><html><head lang="en"><base href="/"><title></title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link href="node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet" /><link href="app/app.component.css" rel="stylesheet" /><!-- Polyfill(s) for older browsers --><script src="node_modules/core-js/client/shim.min.js"></script><script src="node_modules/zone.js/dist/zone.js"></script><script src="node_modules/reflect-metadata/Reflect.js"></script><script src="node_modules/systemjs/dist/system.src.js"></script><!-- Configure SystemJS --><script src="systemjs.config.js"></script><script> System.import('app').catch(function(err){ console.error(err); });</script></head><body><pm-app>Loading App...</pm-app></body></html>
I think this script is making slow .
System.import('app').
Any guidance for improving the performance ?
This is a similar approach like Silverlight. How could I do it without importing ?
I have another mvc 5 application and angular1.5 but it works perfectly and no need to import. we just placing the references on pages and it works.