0
pliaspzero created
Hi,
when Publish Angular to The Azure - App Service - LINUX based operating system -
I think web.config will not work?
How to get Angular to The Azure - App Service - LINUX based - running under .NET 8 running - or should it run under Node JS oder so?
Thanks
Publish Angular to The Azure
Here are the quick steps to publish the AngularUI to the Azure
Run the yarn command to restore packages
Run the npm run publish command to publish Angular app.
Copy the web.config file that is placed in angular folder to dist folder
Configure the angular/dist/assets/appconfig.json with your production URLs.
Upload all files under "angular/dist" folder to your website on Azure created for the Angular UI.
Prepare The Publish Folder
Run the yarn command to restore packages and run the npm run publish to publish the Angular app.
Copy the web.config
Copy the web.config file that is placed in angular folder to angular/dist folder.
Copy the appconfig.json
Configure the angular/dist/assets/appconfig.production.json like following:
1 Answer(s)
-
0
Hi @pliaspzero
Do you use NGINX in your Azure - App Service - LINUX environment ?