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.
我必须将我的应用程序部署在云服务器中。为此,我需要运行 ng build 命令。但是,我还没有在本地机器上完成我的开发。要继续开发和运行应用程序,我需要运行 ng serve。所以我的问题是在云环境中部署我的应用程序后我是否能够继续我的开发?
所以我的问题是在云环境中部署我的应用程序后我是否能够继续我的开发?
ng serve跑完后跑不会有问题ng build。ng build只会让您在 dist 文件夹中获得部署文件。
ng serve
ng build
您可以根据需要多次使用 ng serve 继续运行应用程序。
请通读https://angular.io/guide/deployment