ng serve doesn't generate dist folder anymore with new angular-cli webpack beta

前端 未结 4 1469
情话喂你
情话喂你 2021-01-04 01:15

I initially started a project with beta 10 of the angular-cli, when I run ng serve at that point of time the dist folder would contain the compiled

4条回答
  •  感情败类
    2021-01-04 01:50

    In the root folder of your angular2 project, run:

    ng build
    

    Or for production:

    ng build --prod
    

    This command will generate the dist folder.

提交回复
热议问题