Skip to content

Commit

Permalink
Revert "fix: props example for Vue2"
Browse files Browse the repository at this point in the history
  • Loading branch information
zzjiaxiang committed Sep 11, 2024
1 parent 126fa10 commit 9bfc838
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/4-component-composition/1-props/vue2/UserProfile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export default {

<template>
<div>
<p>My name is {{ name }}!</p>
<p>My age is {{ age }}!</p>
<p>My favorite colors are {{ favoriteColors.join(", ") }}!</p>
<p>I am {{ isAvailable ? "available" : "not available" }}</p>
<p>My name is {{ props.name }}!</p>
<p>My age is {{ props.age }}!</p>
<p>My favorite colors are {{ props.favoriteColors.join(", ") }}!</p>
<p>I am {{ props.isAvailable ? "available" : "not available" }}</p>
</div>
</template>

0 comments on commit 9bfc838

Please sign in to comment.