Skip to content

Commit dd2981a

Browse files
authored
Frontend: fix class name when using Vue/JSX/Styles
Fixing a typo. The CSS selector is `.title`, so `<h1 class={styles.title}>` will output something like `<h1 class="title_a3dKp">`, not `<h1 class="h1_a3dKp">`.
1 parent 8c3df83 commit dd2981a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/encore/vuejs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ a workaround, you can use `CSS Modules`_ by suffixing import paths with
129129
color: red
130130
}
131131
132-
The output will be something like ``<h1 class="h1_a3dKp">Hello World</h1>``.
132+
The output will be something like ``<h1 class="title_a3dKp">Hello World</h1>``.
133133

134134
Using images
135135
~~~~~~~~~~~~

0 commit comments

Comments
 (0)