From cb6d92cf35e59c881e215df0aecf7a60e7fe5a51 Mon Sep 17 00:00:00 2001 From: enisn Date: Thu, 20 Nov 2025 14:28:08 +0300 Subject: [PATCH] Update folder paths for BlazorServer in tutorial Adjusted instructions to reference the correct `Components/Pages` folder for BlazorServer projects instead of `Pages`, ensuring clarity for users following the tutorial. --- docs/en/tutorials/todo/single-layer/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/tutorials/todo/single-layer/index.md b/docs/en/tutorials/todo/single-layer/index.md index 16206b9bd7..6e985784c0 100644 --- a/docs/en/tutorials/todo/single-layer/index.md +++ b/docs/en/tutorials/todo/single-layer/index.md @@ -567,7 +567,7 @@ If you open [Swagger UI](https://swagger.io/tools/swagger-ui/) by entering the ` ### Index.razor.cs -Open the `Index.razor.cs` file in the `Pages` folder{{if UI=="Blazor"}} in your `Todo.Blazor` project{{end}} and replace the content with the following code block: +Open the `Index.razor.cs` file in the {{if UI=="BlazorServer"}}`Components/Pages` {{else}} `Pages` {{end}} folder{{if UI=="Blazor"}} in your `Todo.Blazor` project{{end}} and replace the content with the following code block: ```csharp {{if UI=="Blazor"}} @@ -615,7 +615,7 @@ This class uses the {{if UI=="Blazor"}}`ITodoAppService`{{else}}`TodoAppService` ### Index.razor -Open the `Index.razor` file in the `Pages` folder and replace the content with the following code block: +Open the `Index.razor` file in the {{if UI=="BlazorServer"}}`Components/Pages`{{else}}`Pages`{{end}} folder and replace the content with the following code block: ```xml @page "/" @@ -658,7 +658,7 @@ Open the `Index.razor` file in the `Pages` folder and replace the content with t ### Index.razor.css -As the final touch, open the `Index.razor.css` file in the `Pages` folder and add the following code block at the end of the file: +As the final touch, open the `Index.razor.css` file in the {{if UI=="BlazorServer"}}`Components/Pages`{{else}}`Pages`{{end}} folder and add the following code block at the end of the file: ````css #TodoList{