You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/razor-pages/ui-class.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,14 +127,10 @@ To include TypeScript files in an RCL:
127
127
[!INCLUDE[](~/includes/package-reference.md)]
128
128
129
129
* 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.
0 commit comments