Create small projects in Angular2 and then merge them into one project

I have a question about Angular2, I have a pretty old website, and I want to transfer this old project to Angular2, is it the best idea to create different small projects in the transition process, and then join them in one project?

And if so, where can I find a good example to avoid any disasters in the future.

Thanks for the info.

+4
source share
1 answer

Angular The NgModules system is pretty good for this. You can create separate smaller modules that you can connect with the root module, like a tree.

, , Angular.

, CLI Anguar, ng new my-app, AppComponent. , CLI command ng generate module [module name here] - , .

, Angular , , .

+1

Source: https://habr.com/ru/post/1695406/


All Articles