kirjs / angular-dynamic-module-loading

angular-dynamic-module-loading
36 stars 18 forks source link

how to create lazy.module.js file for a module #1

Open khaled-ansary opened 7 years ago

khaled-ansary commented 7 years ago

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.

NgOnInit commented 6 years ago

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.

bostondevin commented 6 years ago

In your project folder (same level as package.json) run this in the terminal:

node_modules/.bin/tsc -p tsconfig.json

DatsGawas commented 5 years ago

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

pranavjogawade commented 5 years ago

What about multiple files? i have multiple files within single module. How to load all?