Skip to content

Commit 3b92412

Browse files
committed
sudheerj#28 syntax-highlighting
1 parent fe02341 commit 3b92412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ List of 300 VueJS Interview Questions
930930

931931
28. ### When component needs a single root element?
932932
Every component must have a single root element **when template has more than one element**. In this case, you need to wrap the elements with a parent element.
933-
```javascript
933+
```vue
934934
<div class="todo-item">
935935
<h2>{{ title }}</h2>
936936
<div v-html="content"></div>

0 commit comments

Comments
 (0)