Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有一个现有的 Angular 2 应用程序,我们有兴趣使用 CLI 进行构建步骤。
有没有关于实现这一目标的信息?除了从头开始创建项目之外,我找不到任何东西。
选项1:
您可以ng init在现有代码上使用命令。您应该全局安装 angular-cli。
ng init
选项 2:
您可以从头开始创建一个项目,然后引入您的代码。
希望这可以帮助!!