Skip to content

Commit 7352848

Browse files
authored
Merge branch 'MicrosoftDocs:main' into DRS-2.1-GA
2 parents aa93789 + 76aa48a commit 7352848

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/static-web-apps/add-api.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@ You create an Azure Functions project for your static web app's API. By default,
5353
| Prompt | Value |
5454
| --- | --- |
5555
| Select a language | **JavaScript** |
56+
| Select a programming model | **V3** |
5657
| Provide a function name | **message** |
5758

59+
> [!TIP]
60+
> You can learn more about the differences between programming models in the [Azure Functions developer guide](/articles/azure-functions/functions-reference-node.md)
61+
5862
An Azure Functions project is generated with an HTTP triggered function. Your app now has a project structure similar to the following example.
5963

6064
```Files
@@ -222,7 +226,7 @@ To run your frontend app and API together locally, Azure Static Web Apps provide
222226
Ensure you have the necessary command line tools installed.
223227

224228
```bash
225-
npm install -g @azure/static-web-apps-cli
229+
npm install -D @azure/static-web-apps-cli
226230
```
227231

228232
### Build frontend app

0 commit comments

Comments
 (0)