Skip to content

Commit 9a20fcf

Browse files
update static web app article
1 parent 7367fff commit 9a20fcf

File tree

1 file changed

+63
-22
lines changed

1 file changed

+63
-22
lines changed

articles/azure-fluid-relay/how-tos/deploy-fluid-static-web-apps.md

Lines changed: 63 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'How to: Deploy Fluid applications using Azure Static Web Apps'
33
description: Detailed explanation about how Fluid applications can be hosted on Azure Static Web Apps
44
author: sonalivdeshpande
55
ms.author: sdeshpande
6-
ms.date: 08/19/2021
6+
ms.date: 07/18/2022
77
ms.topic: article
88
ms.service: azure-fluid
99
---
@@ -94,36 +94,77 @@ Run the `npm run build` command from the root directory to rebuild the app. This
9494
> [!NOTE]
9595
> You must sign in to Azure and GitHub in Visual Studio Code to continue. If you are not already authenticated, the extension will prompt you to sign in to both services during the creation process.
9696
97-
1. Under the *Static Web Apps* label, select the **plus sign**.
97+
1. Select <kbd>F1</kbd> to open the Visual Studio Code command palette.
9898

99-
:::image type="content" source="../../static-web-apps/media/getting-started/extension-create-button.png" alt-text="An image of the Static Web Apps extension UI, highlighting the create button.":::
100-
101-
> [!NOTE]
102-
> The Azure Static Web Apps Visual Studio Code extension streamlines the creating process by using a series of default values. If you want to have fine-grained control of the creation process, open the command palate and select **Azure Static Web Apps: Create Static Web App... (Advanced)**.
99+
1. Enter **Create static web app** in the command box.
103100

104-
1. The command palette opens at the top of the editor and prompts you to select a subscription name.
101+
1. Select *Azure Static Web Apps: Create static web app...* and select **Enter**.
105102

106-
Select your subscription and press <kbd>Enter</kbd>.
103+
# [No Framework](#tab/vanilla-javascript)
107104

108-
:::image type="content" source="../../static-web-apps/media/getting-started/extension-subscription.png" alt-text="An image of the Azure subscription selection UI, which shows a single subscription to be selected.":::
105+
| Setting | Value |
106+
| --- | --- |
107+
| Name | Enter **my-first-static-web-app** |
108+
| Region | Select the region closest to you. |
109+
| Build preset | Select **Custom**. |
109110

110-
1. Next, name your application.
111+
# [Angular](#tab/angular)
111112

112-
Type **my-first-static-web-app** and press <kbd>Enter</kbd>.
113+
| Setting | Value |
114+
| --- | --- |
115+
| Name | Enter **my-first-static-web-app** |
116+
| Region | Select the region closest to you. |
117+
| Build preset | Select **Custom**. |
113118

114-
:::image type="content" source="../../static-web-apps/media/getting-started/extension-create-app.png" alt-text="An image of the Static Web Apps extension UI, which shows a text box to enter the name of the application.":::
119+
# [React](#tab/react)
115120

116-
1. Select a region close to you.
121+
| Setting | Value |
122+
| --- | --- |
123+
| Name | Enter **my-first-static-web-app** |
124+
| Region | Select the region closest to you. |
125+
| Build preset | Select **Custom**. |
117126

118-
> [!NOTE]
119-
> Azure Static Web Apps globally distributes your static assets. The region you select determines where your
120-
> optional staging environments and API function app will be located.
121-
122-
1. Set other deployment options.
123-
124-
- When asked to select a build preset to configure default project structure, select **Custom**.
125-
- Location of application code: `/`
126-
- Location of Azure Function code: `api`
127+
# [Vue](#tab/vue)
128+
129+
| Setting | Value |
130+
| --- | --- |
131+
| Name | Enter **my-first-static-web-app** |
132+
| Region | Select the region closest to you. |
133+
| Build preset | Select **Custom**. |
134+
135+
---
136+
137+
1. Enter the settings values for that match your framework preset choice.
138+
139+
# [No Framework](#tab/vanilla-javascript)
140+
141+
| Setting | Value |
142+
| --- | --- |
143+
| Location of application code | Enter **/src** |
144+
| Location of Azure Function code | **api** |
145+
146+
# [Angular](#tab/angular)
147+
148+
| Setting | Value |
149+
| --- | --- |
150+
| Location of application code | Enter **/** |
151+
| Location of Azure Function code | **api** |
152+
153+
# [React](#tab/react)
154+
155+
| Setting | Value |
156+
| --- | --- |
157+
| Location of application code | Enter **/** |
158+
| Location of Azure Function code | **api** |
159+
160+
# [Vue](#tab/vue)
161+
162+
| Setting | Value |
163+
| --- | --- |
164+
| Location of application code | Enter **/** |
165+
| Location of Azure Function code | **api** |
166+
167+
---
127168

128169
1. Once the app is created, a confirmation notification is shown in Visual Studio Code.
129170

0 commit comments

Comments
 (0)