How can I convert an existing project to angular-c

2019-02-23 17:42发布

问题:

I just tried ng2-admin and it's looking great; all of the features are really good. How can I convert this project to angular-cli?

I tried with ng init, but it is overwriting the existing code in the app folder. How can I convert this project to angular-cli without any impact?

回答1:

just create project in angular-cli and than put your all code in app folder src/app folder. import external dependencies if your project have.