Skip to content

Commit

Permalink
Merge pull request #116 from Adam-Langley/patch-1
Browse files Browse the repository at this point in the history
corrected target environment arg for ng build
  • Loading branch information
maliming authored Feb 12, 2019
2 parents 58ce7ee + b6eb697 commit d1d4536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Step-by-step-publish-to-azure-angular.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ Select "**azure-publish-demo-server**" and click "**OK**", then click "**Publish
The details will be explained in the next lines. Here are the quick steps to publish the **AngularUI** to the Azure

- Run the `yarn` command to restore packages
- Run the `ng build -prod`
- Run the `ng build --prod`
- Copy the web.config file that is placed in **angular** folder root to dist folder
- Configure the **angular/dist/assets/appconfig.json**
- Send the required files to the Azure

### Prepare The Publish Folder

Run the `yarn` command to restore packages and run the `ng build -prod` to create publish folder that named **dist**.
Run the `yarn` command to restore packages and run the `ng build --prod` to create publish folder that named **dist**.

<img src="images/azure-publish-angular-publish-angular.png">

Expand Down

0 comments on commit d1d4536

Please sign in to comment.