This commit is contained in:
2026-05-14 09:53:22 +08:00
commit e0e8684f53
23 changed files with 2207 additions and 0 deletions

28
src/routes.ts Normal file
View File

@@ -0,0 +1,28 @@
import type { RouteRecordRaw } from 'vue-router'
import AboutView from './pages/AboutView.vue'
import ContactView from './pages/ContactView.vue'
import HomeView from './pages/HomeView.vue'
import ProductsView from './pages/ProductsView.vue'
export const routes: RouteRecordRaw[] = [
{
path: '/',
name: 'home',
component: HomeView,
},
{
path: '/about',
name: 'about',
component: AboutView,
},
{
path: '/products',
name: 'products',
component: ProductsView,
},
{
path: '/contact',
name: 'contact',
component: ContactView,
},
]