Skip to content

Commit 0a42bb9

Browse files
authored
fix: filenames for code examples
1 parent 177c4ad commit 0a42bb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/hilla/guides/routing.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Sometimes, you may need to create routes that accept dynamic parameters, such as
6767

6868
For example, create a file named `{productId}.tsx` in the `src/main/frontend/views/products/` directory with the following content:
6969

70+
.`{productId}.tsx`
7071
[source,tsx]
7172
----
7273
import { useParams } from 'react-router-dom';
@@ -119,6 +120,7 @@ For adding a layout, create a view file named `@layout.tsx` in the views directo
119120

120121
The following example defines the main layout with the drawer and the main menu:
121122

123+
.`@layout.tsx`
122124
[source,tsx]
123125
----
124126
import { AppLayout } from '@vaadin/react-components/AppLayout.js';

0 commit comments

Comments
 (0)