**run ng build first**
www folder will be created not dist folder
on your netlify deployment setting set the following configuration
Base directory /**leave it blank its optional**/
Build command ng build
Publish directory www/**replace with**www/**rather than**dist/**
2条答案
按热度按时间vyswwuz21#
若要变更所有组建..
angular-cli.json
(ng1)或angular.json
(ng2+):要具有多个位置,请执行以下操作:
ng build --output-path=dist/dev
ng build --output-path=wwwtest --configuration test
qc6wkl3g2#