Skip to content

Commit 6ccfaad

Browse files
committed
text
1 parent 369506e commit 6ccfaad

File tree

1 file changed

+1
-11
lines changed
  • static/usage/v7/text/basic

1 file changed

+1
-11
lines changed

static/usage/v7/text/basic/vue.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,8 @@
2121
</p>
2222
</template>
2323

24-
<script lang="ts">
24+
<script lang="ts" setup>
2525
import { IonIcon, IonText } from '@ionic/vue';
2626
import { warning } from 'ionicons/icons';
27-
import { defineComponent } from 'vue';
28-
29-
export default defineComponent({
30-
components: { IonIcon, IonText },
31-
setup() {
32-
return {
33-
warning,
34-
};
35-
},
36-
});
3727
</script>
3828
```

0 commit comments

Comments
 (0)