angular-dynamic-module-loading
angular-dynamic-module-loading copied to clipboard
how to create lazy.module.js file for a module
Hi,
Thanks for a nice example for dynamic module loading. How can I create the lazy.module.js
file. Could you please give an example for it? Thanks.
HI, This is a nice example. Is there no strengthened version of this project? How can I create the lazy.module.js file. Could you please give an example for it? Thanks.
In your project folder (same level as package.json) run this in the terminal:
node_modules/.bin/tsc -p tsconfig.json
Hi @bostondevin If I fire this 'node_modules/.bin/tsc -p tsconfig.json' command I found JS but the format of my JS file and your JS file is different that's why the code is not working. can you help me? this error I am getting. core.js:12501 ERROR SyntaxError: Unexpected token import
What about multiple files? i have multiple files within single module. How to load all?