Skip to content

Commit c5ef654

Browse files
authored
docs(vue): streamline usage example with script setup syntax
1 parent 3edfdab commit c5ef654

File tree

1 file changed

+1
-6
lines changed
  • static/usage/v8/input/theming/colors

1 file changed

+1
-6
lines changed

static/usage/v8/input/theming/colors/vue.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@
1111
<ion-input aria-label="Dark input" color="dark" placeholder="Dark input"></ion-input>
1212
</template>
1313

14-
<script lang="ts">
14+
<script setup lang="ts">
1515
import { IonInput } from '@ionic/vue';
16-
import { defineComponent } from 'vue';
17-
18-
export default defineComponent({
19-
components: { IonInput },
20-
});
2116
</script>
2217
```

0 commit comments

Comments
 (0)