Skip to content

Commit 321505f

Browse files
Apply suggestions from code review
Co-authored-by: Burke Holland <[email protected]>
1 parent f1dd5d2 commit 321505f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/static-apps/local-development.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ This article demonstrates recommended best-practices for local development, incl
3333

3434
Running an Azure Static Web App locally involves three processes, depending on whether or not your project contains an API.
3535

36-
1. Running a local web server
37-
1. Running the API
38-
1. Connecting the web project to the API
36+
* Running a local web server
37+
* Running the API
38+
* Connecting the web project to the API
3939

4040
Depending on how a website is built, a local web server may or may not be required to run the application in the browser. When using front-end JavaScript frameworks and static site generators, this functionality is built in to their respective CLIs (Command Line Interfaces). The following links point to the CLI reference for a selection of frameworks, libraries, and generators.
4141

@@ -65,7 +65,7 @@ The Live Server extension for Visual Studio Code provides a local development we
6565

6666
1. Open Visual Studio Code.
6767

68-
1. Press <kbd>F1</kbd> to open the Command Palette.
68+
1. Press **F1** to open the Command Palette.
6969

7070
1. Type **clone** in the search box and select **Git: Clone**.
7171

@@ -87,7 +87,7 @@ Visual Studio Code will open the cloned project in the editor.
8787

8888
### Run the website locally with Live Server
8989

90-
1. Press <kbd>F1</kbd> to open the Command Palette.
90+
1. Press **F1** to open the Command Palette.
9191

9292
1. Type **Live Server** in the search box and select **Live Server: Open with Live Server**
9393

@@ -103,15 +103,15 @@ Azure Static Web Apps APIs are powered by Azure Functions. See [Add an API to Az
103103

104104
As part of the API creation process, a launch configuration is created for Visual Studio Code. This configuration is located in the _.vscode_ folder. This folder contains all of the required settings for building and running the API locally.
105105

106-
1. In Visual Studio Code, press <kbd>F5</kbd> to start the API.
106+
1. In Visual Studio Code, press **F5** to start the API.
107107

108108
1. A new terminal instance opens showing the output from the API build process.
109109

110110
:::image type="content" source="media/local-development/terminal-api-debug.png" alt-text="API running in Visual Studio Code terminal":::
111111

112112
The status bar in Visual Studio Code is now orange. This indicates that the API is now running and the debugger is attached.
113113

114-
1. Next, press <kbd>Ctrl/Cmd</kbd> and click on the URL in the terminal to open a browser window that calls the API.
114+
1. Next, press **Ctrl/Cmd** and click on the URL in the terminal to open a browser window that calls the API.
115115

116116
:::image type="content" source="media/local-development/hello-from-the-api.png" alt-text="Browser display result of API call":::
117117

@@ -180,13 +180,13 @@ For more information on configuring environment files for front-end JavaScript f
180180

181181
##### Restart Live Server
182182

183-
1. Press <kbd>F1</kbd> to open the Command Palette in Visual Studio Code
183+
1. Press **F1** to open the Command Palette in Visual Studio Code
184184

185185
1. Type **Live Server** and select **Live Server: Stop Live Server**.
186186

187-
:::image type="content" source="media/local-development/stop-live-server.png" alt-text="Stop Live Server command in Visual Studio command palatte":::
187+
:::image type="content" source="media/local-development/stop-live-server.png" alt-text="Stop Live Server command in Visual Studio command palette":::
188188

189-
1. Press <kbd>F1</kbd> to open the Command Palette
189+
1. Press **F1** to open the Command Palette
190190

191191
1. Type **Live Server** and select **Live Server: Open with Live Server**.
192192

0 commit comments

Comments
 (0)