File tree Expand file tree Collapse file tree 6 files changed +64
-65
lines changed Expand file tree Collapse file tree 6 files changed +64
-65
lines changed Original file line number Diff line number Diff line change @@ -25,4 +25,10 @@ export default createConfigForNuxt({
2525 'vue/multi-word-component-names' : 'off' ,
2626 } ,
2727 } ,
28+ {
29+ files : [ 'playground/**' ] ,
30+ rules : {
31+ 'vue/no-deprecated-slot-attribute' : 'off' ,
32+ } ,
33+ } ,
2834)
Original file line number Diff line number Diff line change 22 <ion-page >
33 <ion-header >
44 <ion-toolbar >
5- <template #start >
6- <ion-buttons >
7- <ion-back-button default-href =" /tabs/tab3" />
8- </ion-buttons >
9- </template >
5+ <ion-buttons slot =" start" >
6+ <ion-back-button default-href =" /tabs/tab3" />
7+ </ion-buttons >
108 <ion-title >Overlapping - no tabs</ion-title >
119 </ion-toolbar >
1210 </ion-header >
Original file line number Diff line number Diff line change @@ -9,41 +9,39 @@ useHead({
99 <ion-content >
1010 <ion-tabs >
1111 <ion-router-outlet />
12- <template #bottom >
13- <ion-tab-bar >
14- <ion-tab-button
15- tab =" tab1"
16- href =" /tabs/tab1"
17- >
18- <ion-icon :icon =" ioniconsHomeOutline" />
19- <ion-label >Tab 1</ion-label >
20- </ion-tab-button >
12+ <ion-tab-bar slot =" bottom" >
13+ <ion-tab-button
14+ tab =" tab1"
15+ href =" /tabs/tab1"
16+ >
17+ <ion-icon :icon =" ioniconsHomeOutline" />
18+ <ion-label >Tab 1</ion-label >
19+ </ion-tab-button >
2120
22- <ion-tab-button
23- tab =" tab2"
24- href =" /tabs/tab2"
25- >
26- <ion-icon :icon =" ioniconsImagesOutline" />
27- <ion-label >Photos</ion-label >
28- </ion-tab-button >
21+ <ion-tab-button
22+ tab =" tab2"
23+ href =" /tabs/tab2"
24+ >
25+ <ion-icon :icon =" ioniconsImagesOutline" />
26+ <ion-label >Photos</ion-label >
27+ </ion-tab-button >
2928
30- <ion-tab-button
31- tab =" tab3"
32- href =" /tabs/tab3"
33- >
34- <ion-icon :icon =" ioniconsBulbOutline" />
35- <ion-label >Tab 3</ion-label >
36- </ion-tab-button >
29+ <ion-tab-button
30+ tab =" tab3"
31+ href =" /tabs/tab3"
32+ >
33+ <ion-icon :icon =" ioniconsBulbOutline" />
34+ <ion-label >Tab 3</ion-label >
35+ </ion-tab-button >
3736
38- <ion-tab-button
39- tab =" tab4"
40- href =" /tabs/tab4"
41- >
42- <ion-icon :icon =" ioniconsAccessibilityOutline" />
43- <ion-label >Animation examples</ion-label >
44- </ion-tab-button >
45- </ion-tab-bar >
46- </template >
37+ <ion-tab-button
38+ tab =" tab4"
39+ href =" /tabs/tab4"
40+ >
41+ <ion-icon :icon =" ioniconsAccessibilityOutline" />
42+ <ion-label >Animation examples</ion-label >
43+ </ion-tab-button >
44+ </ion-tab-bar >
4745 </ion-tabs >
4846 </ion-content >
4947 </ion-page >
Original file line number Diff line number Diff line change @@ -8,11 +8,9 @@ definePageMeta({
88 <ion-page >
99 <ion-header translucent >
1010 <ion-toolbar >
11- <template #start >
12- <ion-thumbnail >
13- <ion-img src =" /icon.png" />
14- </ion-thumbnail >
15- </template >
11+ <ion-thumbnail slot =" start" >
12+ <ion-img src =" /icon.png" />
13+ </ion-thumbnail >
1614 <ion-title > Nuxt Ionic </ion-title >
1715 </ion-toolbar >
1816 </ion-header >
@@ -27,18 +25,20 @@ definePageMeta({
2725
2826 <ion-list >
2927 <ion-item >
30- <template #start >
31- <ion-checkbox aria-label =" Mark idea complete" />
32- </template >
28+ <ion-checkbox
29+ slot =" start"
30+ aria-label =" Mark idea complete"
31+ />
3332 <ion-label >
3433 <h1 >Create Idea</h1 >
3534 <ion-note >Run Idea By Brandy</ion-note >
3635 </ion-label >
37- <template #end >
38- <ion-badge color =" success" >
39- 5 Days
40- </ion-badge >
41- </template >
36+ <ion-badge
37+ slot =" end"
38+ color =" success"
39+ >
40+ 5 Days
41+ </ion-badge >
4242 </ion-item >
4343 </ion-list >
4444 </ion-content >
Original file line number Diff line number Diff line change @@ -60,16 +60,15 @@ const showActionSheet = async (photo: UserPhoto) => {
6060 </ion-row >
6161 </ion-grid >
6262
63- <template #fixed >
64- <ion-fab
65- vertical =" bottom"
66- horizontal =" center"
67- >
68- <ion-fab-button @click =" takePhoto()" >
69- <ion-icon :icon =" ioniconsCamera" />
70- </ion-fab-button >
71- </ion-fab >
72- </template >
63+ <ion-fab
64+ slot =" fixed"
65+ vertical =" bottom"
66+ horizontal =" center"
67+ >
68+ <ion-fab-button @click =" takePhoto()" >
69+ <ion-icon :icon =" ioniconsCamera" />
70+ </ion-fab-button >
71+ </ion-fab >
7372 </ion-content >
7473 </ion-page >
7574</template >
Original file line number Diff line number Diff line change 22 <ion-page >
33 <ion-header >
44 <ion-toolbar >
5- <template #start >
6- <ion-buttons >
7- <ion-back-button default-href =" /tabs/tab3" />
8- </ion-buttons >
9- </template >
5+ <ion-buttons slot =" start" >
6+ <ion-back-button default-href =" /tabs/tab3" />
7+ </ion-buttons >
108 <ion-title >Tab 3 - Page 2</ion-title >
119 </ion-toolbar >
1210 </ion-header >
You can’t perform that action at this time.
0 commit comments