Skip to content

Commit a55ae44

Browse files
Patrick Sachsposva
Patrick Sachs
authored andcommitted
docs: switch v-if with class for consistency (#2750)
1 parent e05631d commit a55ae44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/guide/advanced/data-fetching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Let's assume we have a `Post` component that needs to fetch the data for a post
1717
``` html
1818
<template>
1919
<div class="post">
20-
<div class="loading" v-if="loading">
20+
<div v-if="loading" class="loading">
2121
Loading...
2222
</div>
2323

0 commit comments

Comments
 (0)