Skip to content

Commit 5dbb380

Browse files
committed
docs(playground): update vue template to script setup
1 parent 512ae4a commit 5dbb380

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

_templates/playground/new/vue.md.ejs.t

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ to: "<%= `static/usage/v${version}/${name}/${path}/vue.md` %>"
77
<<%= component %>></<%= component %>>
88
</template>
99

10-
<script lang="ts">
10+
<script setup lang="ts">
1111
import { <%= pascalComponent %> } from '@ionic/vue';
12-
import { defineComponent } from 'vue';
13-
14-
export default defineComponent({
15-
components: {
16-
<%= pascalComponent %>,
17-
},
18-
});
1912
</script>
2013
<% if (css){ -%>
2114

0 commit comments

Comments
 (0)