File tree 4 files changed +8
-28
lines changed
4 files changed +8
-28
lines changed Original file line number Diff line number Diff line change 5
5
</ion-avatar >
6
6
</template >
7
7
8
- <script lang =" ts" >
9
- import { IonAvatar } from ' @ionic/vue' ;
10
- import { defineComponent } from ' vue' ;
11
-
12
- export default defineComponent ({
13
- components: { IonAvatar },
14
- });
8
+ <script lang =" ts" setup >
9
+ import { IonAvatar } from ' @ionic/vue' ;
15
10
</script >
16
11
```
Original file line number Diff line number Diff line change 8
8
</ion-chip >
9
9
</template >
10
10
11
- <script lang =" ts" >
12
- import { IonAvatar , IonChip , IonLabel } from ' @ionic/vue' ;
13
- import { defineComponent } from ' vue' ;
14
-
15
- export default defineComponent ({
16
- components: { IonAvatar, IonChip, IonLabel },
17
- });
11
+ <script lang =" ts" setup >
12
+ import { IonAvatar , IonChip , IonLabel } from ' @ionic/vue' ;
18
13
</script >
19
14
```
Original file line number Diff line number Diff line change 8
8
</ion-item >
9
9
</template >
10
10
11
- <script lang =" ts" >
12
- import { IonAvatar , IonItem , IonLabel } from ' @ionic/vue' ;
13
- import { defineComponent } from ' vue' ;
14
-
15
- export default defineComponent ({
16
- components: { IonAvatar, IonItem, IonLabel },
17
- });
11
+ <script lang =" ts" setup >
12
+ import { IonAvatar , IonItem , IonLabel } from ' @ionic/vue' ;
18
13
</script >
19
14
```
Original file line number Diff line number Diff line change 5
5
</ion-avatar >
6
6
</template >
7
7
8
- <script lang =" ts" >
9
- import { IonAvatar } from ' @ionic/vue' ;
10
- import { defineComponent } from ' vue' ;
11
-
12
- export default defineComponent ({
13
- components: { IonAvatar },
14
- });
8
+ <script lang =" ts" setup >
9
+ import { IonAvatar } from ' @ionic/vue' ;
15
10
</script >
16
11
17
12
<style scoped >
You can’t perform that action at this time.
0 commit comments