add heart animation

This commit is contained in:
2025-08-02 09:35:30 +04:00
parent a5232864d2
commit faa4663e20
21 changed files with 423 additions and 31 deletions

View File

@ -0,0 +1,7 @@
import type { Component } from 'vue'
export type TRoute = {
path: string
name: string
component: () => Promise<Component>
}

View File

@ -0,0 +1,10 @@
import type { TRoute } from './_type/TRoutes.ts'
const routes: TRoute[] = [
{
path: '/',
name: '/',
component: () => import('../../pages/index/rootPage.vue'),
},
]
export default routes

8
src/router/index.ts Normal file
View File

@ -0,0 +1,8 @@
import { createRouter, createWebHistory } from 'vue-router'
import routes from './config/routes.ts'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes,
})
export default router