Skip to content

Commit fb53596

Browse files
committed
add missing markup /7
1 parent 1615db2 commit fb53596

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

aspnetcore/razor-pages/ui-class.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,10 @@ To include TypeScript files in an RCL:
127127
[!INCLUDE[](~/includes/package-reference.md)]
128128

129129
* Place the TypeScript files (`.ts`) outside of the `wwwroot` folder. For example, place the files in a `Client` folder.
130-
131-
* Configure the TypeScript build output for the `wwwroot` folder. Set the `TypescriptOutDir` property inside of a `PropertyGroup` in the project file:
132-
133-
```xml
134-
<TypescriptOutDir>wwwroot</TypescriptOutDir>
135-
```
136-
137-
* Remove the output in the `wwwroot folder` and include the TypeScript target as a dependency of the `PrepareForBuildDependsOn` target by adding the following target inside of a `PropertyGroup` in the project file:
130+
* Add the following markup to the project file:
131+
* Configure the TypeScript build output for the `wwwroot` folder with the `TypescriptOutDir` property inside.
132+
* Include the TypeScript target as a dependency of the `PrepareForBuildDependsOn` target by adding the following target inside of a `PropertyGroup` in the project file.
133+
* Remove the output in the `wwwroot folder`.
138134

139135
[!code-xml[](~/razor-pages/ui-class/remove.xml?highlight=6-9,13)]
140136

aspnetcore/razor-pages/ui-class/remove.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
// Markup removed for brevity.
6+
<TypescriptOutDir>wwwroot</TypescriptOutDir>
67
<PrepareForBuildDependsOn>
78
CompileTypeScriptWithTSConfig;
89
GetTypeScriptOutputForPublishing;$(PrepareForBuildDependsOn)

0 commit comments

Comments
 (0)