Skip to content

Commit ee6c8d8

Browse files
authored
Update sharepoint-framework-toolchain.md
Enhanced format of code example
1 parent ea41099 commit ee6c8d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/spfx/toolchain/sharepoint-framework-toolchain.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ If you are using `git` as your source control system, the Yeoman scaffolded web
134134

135135
When you check out, or clone, the web part project from your source control system the first time, run the command to initialize and install all the project dependencies locally:
136136

137-
```
137+
```console
138138
npm i
139139
```
140140

@@ -181,7 +181,7 @@ The toolchain consists of the following gulp tasks defined in the [@microsoft/sp
181181

182182
To initiate different tasks, append the task name with the gulp command. For example, to compile and then preview your web part in the SharePoint Workbench, run the following command:
183183

184-
```
184+
```console
185185
gulp serve
186186
```
187187

@@ -196,7 +196,7 @@ The `serve` task runs the different tasks and finally launches SharePoint Workbe
196196

197197
In the previous screenshot, you can see that the task indicates your build target as follows:
198198

199-
```
199+
```console
200200
Build target: DEBUG
201201
```
202202

@@ -206,7 +206,7 @@ Usually, when your web part project is ready to ship or deploy in a production s
206206

207207
To target SHIP mode, append the task with `--ship`:
208208

209-
```
209+
```console
210210
gulp --ship
211211
```
212212

0 commit comments

Comments
 (0)