Skip to content

Commit 29510a9

Browse files
authored
remove @page directive from sample component (#35651)
1 parent 7833ce9 commit 29510a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

aspnetcore/blazor/components/js-spa-frameworks.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,6 @@ The following `Counter` component uses an `IncrementAmount` parameter to set the
378378
`Counter.razor`:
379379

380380
```razor
381-
@page "/counter"
382-
383381
<h1>Counter</h1>
384382
385383
<p role="status">Current count: @currentCount</p>

0 commit comments

Comments
 (0)