lint: format

This commit is contained in:
2025-12-11 00:26:27 +07:00
parent cfc4f4e0f7
commit 52415f91b0
22 changed files with 8297 additions and 10071 deletions

View File

@@ -1,39 +1,39 @@
import { createRouter, createWebHistory } from '@ionic/vue-router';
import { RouteRecordRaw } from 'vue-router';
import TabsPage from '../views/TabsPage.vue'
import type { RouteRecordRaw } from "vue-router";
import { createRouter, createWebHistory } from "@ionic/vue-router";
import TabsPage from "../views/TabsPage.vue";
const routes: Array<RouteRecordRaw> = [
{
path: '/',
redirect: '/tabs/tab1'
path: "/",
redirect: "/tabs/tab1",
},
{
path: '/tabs/',
path: "/tabs/",
component: TabsPage,
children: [
{
path: '',
redirect: '/tabs/tab1'
path: "",
redirect: "/tabs/tab1",
},
{
path: 'tab1',
component: () => import('@/views/Tab1Page.vue')
path: "tab1",
component: () => import("@/views/Tab1Page.vue"),
},
{
path: 'tab2',
component: () => import('@/views/Tab2Page.vue')
path: "tab2",
component: () => import("@/views/Tab2Page.vue"),
},
{
path: 'tab3',
component: () => import('@/views/Tab3Page.vue')
}
]
}
]
path: "tab3",
component: () => import("@/views/Tab3Page.vue"),
},
],
},
];
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes
})
routes,
});
export default router
export default router;