Skip to content

Commit 369daf3

Browse files
Merge pull request #281758 from craigshoemaker/swa/output-folder
[Static Web Apps] Update: Output folder and Angular 17 Note
2 parents bc7e2e0 + 2ba77b6 commit 369daf3

File tree

4 files changed

+30
-24
lines changed

4 files changed

+30
-24
lines changed

articles/static-web-apps/bitbucket.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: static-web-apps
55
author: craigshoemaker
66
ms.service: static-web-apps
77
ms.topic: quickstart
8-
ms.date: 03/31/2021
8+
ms.date: 04/24/2024
99
ms.author: cshoe
1010
---
1111

@@ -62,7 +62,7 @@ This article uses a GitHub repository as the source to import code into a Bitbuc
6262

6363
1. Next to the *Project* label, select **Create new project**.
6464
1. Enter **MyStaticWebApp**.
65-
2. Select **Import repository** and wait a moment while the website creates your repository.
65+
1. Select **Import repository** and wait a moment while the website creates your repository.
6666

6767
### Set main branch
6868

@@ -72,7 +72,7 @@ From time to time the template repository have more than one branch. Use the fol
7272
1. Expand the **Advanced** section.
7373
1. Under the *Main branch* label, ensure **main** is selected in the drop down.
7474
1. If you made a change, select **Save changes**.
75-
2. Select **Back**.
75+
1. Select **Back**.
7676

7777
## Create a static web app
7878

@@ -96,10 +96,10 @@ Now that the repository is created, you can create a static web app from the Azu
9696

9797
1. Select **Review + create**.
9898
1. Select **Create**.
99-
2. Select **Go to resource**.
100-
3. Select **Manage deployment token**.
101-
4. Copy the deployment token value and set it aside in an editor for later use.
102-
5. Select **Close** on the *Manage deployment token* window.
99+
1. Select **Go to resource**.
100+
1. Select **Manage deployment token**.
101+
1. Copy the deployment token value and set it aside in an editor for later use.
102+
1. Select **Close** on the *Manage deployment token* window.
103103

104104
## Create the pipeline task in Bitbucket
105105

@@ -108,8 +108,8 @@ Now that the repository is created, you can create a static web app from the Azu
108108
1. Ensure the **main** branch is selected in the branch drop down.
109109
1. Select **Pipelines**.
110110
1. Select text link **Create your first pipeline**.
111-
2. On the *Starter pipeline* card, select **Select**.
112-
3. Enter the following YAML into the configuration file.
111+
1. On the *Starter pipeline* card, select **Select**.
112+
1. Enter the following YAML into the configuration file.
113113

114114
# [No Framework](#tab/vanilla-javascript)
115115

@@ -147,6 +147,9 @@ Now that the repository is created, you can create a static web app from the Azu
147147
API_TOKEN: $deployment_token
148148
```
149149
150+
> [!NOTE]
151+
> If you are using these instructions with your own code and Angular 17 or above, the output location value needs to end with **/browser**.
152+
150153
# [Blazor](#tab/blazor)
151154
152155
```yml

articles/static-web-apps/deploy-angular.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: static-web-apps
55
author: craigshoemaker
66
ms.service: static-web-apps
77
ms.topic: how-to
8-
ms.date: 08/02/2023
8+
ms.date: 07/24/2024
99
ms.author: cshoe
1010
zone_pivot_groups: devops-or-github
1111
---
@@ -41,25 +41,25 @@ This article uses a GitHub template repository to make it easy for you to get st
4141
This article uses an Azure DevOps repository to make it easy for you to get started. The repository features a starter app used to deploy using Azure Static Web Apps.
4242

4343
1. Sign in to Azure DevOps.
44-
2. Select **New repository**.
45-
3. In the *Create new project* window, expand **Advanced** menu and make the following selections:
44+
1. Select **New repository**.
45+
1. In the *Create new project* window, expand the **Advanced** menu, and make the following selections:
4646

4747
| Setting | Value |
4848
|--|--|
4949
| Project | Enter **my-first-web-static-app**. |
5050
| Visibility | Select **Private**. |
51-
| Version control | Select **Git**. |
51+
| Version control | Select **Git**. |
5252
| Work item process | Select the option that best suits your development methods. |
5353

54-
4. Select **Create**.
55-
5. Select the **Repos** menu item.
56-
6. Select the **Files** menu item.
57-
7. Under the *Import repository* card, select **Import**.
58-
8. Copy a repository URL for the framework of your choice, and paste it into the *Clone URL* box.
54+
1. Select **Create**.
55+
1. Select the **Repos** menu item.
56+
1. Select the **Files** menu item.
57+
1. Under the *Import repository* card, select **Import**.
58+
1. Copy a repository URL for the framework of your choice, and paste it into the *Clone URL* box.
5959

6060
[https://github.com/staticwebdev/angular-basic.git](https://github.com/staticwebdev/angular-basic.git)
6161

62-
9. Select **Import** and wait for the import process to complete.
62+
1. Select **Import** and wait for the import process to complete.
6363

6464
::: zone-end
6565

@@ -75,7 +75,10 @@ In the _Build Details_ section, add configuration details specific to your prefe
7575

7676
1. Leave the _Api location_ box empty.
7777

78-
1. Type **dist/angular-basic** in the _App artifact location_ box.
78+
1. Type **dist/angular-basic** in the _Output location_ box.
79+
80+
> [!NOTE]
81+
> If you are using these instructions with your own code and Angular 17 or above, the output location value needs to end with **/browser**.
7982
8083
Select **Review + create**.
8184

articles/static-web-apps/deploy-nextjs-hybrid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ In the _Build Details_ section, add configuration details specific to your prefe
9090

9191
1. Leave the _Api location_ box empty.
9292

93-
1. Leave the _App artifact location_ box empty.
93+
1. Leave the _Output location_ box empty.
9494

9595
Select **Review + create**.
9696

articles/static-web-apps/deploy-vue.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ This article uses an Azure DevOps repository to make it easy for you to get star
4242

4343
1. Sign in to Azure DevOps.
4444
2. Select **New repository**.
45-
3. In the *Create new project* window, expand **Advanced** menu and make the following selections:
45+
3. In the *Create new project* window, expand **Advanced** menu, and make the following selections:
4646

4747
| Setting | Value |
4848
|--|--|
4949
| Project | Enter **my-first-web-static-app**. |
5050
| Visibility | Select **Private**. |
51-
| Version control | Select **Git**. |
51+
| Version control | Select **Git**. |
5252
| Work item process | Select the option that best suits your development methods. |
5353

5454
4. Select **Create**.
@@ -75,7 +75,7 @@ In the _Build Details_ section, add configuration details specific to your prefe
7575

7676
1. Leave the _Api location_ box empty.
7777

78-
1. Keep the default value in the _App artifact location_ box.
78+
1. Keep the default value in the _Output location_ box.
7979

8080
Select **Review + create**.
8181

0 commit comments

Comments
 (0)