import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import ExperienceView from '../views/ExperienceView.vue'


const routes: RouteRecordRaw[] = [
  { path: '/', component: HomeView },
  { path: '/experience',
     component: ExperienceView,
    props: { modelUrl: '/models/door_room_firstVersion_materials-draco.glb', dracoPath: '/draco/' } }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router