angular deploy iis



3. Configure Angular to output files in the development build

When using Angular with the default development server, ng serve , the output is in memory and will not be written to disk.

To use our own server, we need to use ng build --watch, which will watch files just like ng serve, but will write them to disk, and will not run a server.

Therefore, update the package.json file and add one more command in scripts, that will execute this command.


https://levelup.gitconnected.com/how-to-deploy-angular-app-to-an-iis-web-server-complete-setup-337997486423


Route 同埋 deploy size 都有set , 昨日唔記得mark 
同埋, 都有.net core COR 要set 番個Path


留言

這個網誌中的熱門文章

香港袐密行動

要老是忘記, 我更記不起