minor fix

This commit is contained in:
Mathieu Schimmerling
2022-04-12 12:50:15 +02:00
parent 702308f778
commit b22c36f7db
4 changed files with 7 additions and 6 deletions

View File

@@ -723,14 +723,14 @@ UserProfile.propTypes = {
```vue
<script setup>
import { ref } from 'vue';
import Hello from './UserProfile.vue';
import UserProfile from './UserProfile.vue';
const username = ref('John');
</script>
<template>
<input v-model="username">
<Hello :name="username" />
<UserProfile :name="username" />
</template>
```

View File

@@ -1,11 +1,11 @@
<script setup>
import { ref } from 'vue';
import Hello from './UserProfile.vue';
import UserProfile from './UserProfile.vue';
const username = ref('John');
</script>
<template>
<input v-model="username">
<Hello :name="username" />
<UserProfile :name="username" />
</template>

View File

@@ -688,14 +688,14 @@ UserProfile.propTypes = {
```vue
<script setup>
import { ref } from 'vue';
import Hello from './UserProfile.vue';
import UserProfile from './UserProfile.vue';
const username = ref('John');
</script>
<template>
<input v-model="username">
<Hello :name="username" />
<UserProfile :name="username" />
</template>
```

View File

@@ -1,6 +1,7 @@
{
"compileOnSave": false,
"compilerOptions": {
"allowJs": true,
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,