PIbd-23_Kharlamov_A.A._SUBD/ui/app.js

15 lines
328 B
JavaScript

const routes=[
{path:'/vacancy', component:vacancy},
{path:'/candidate', component:candidate},
{path:'/', component:userform}
]
const router = VueRouter.createRouter({
history: VueRouter.createWebHashHistory(),
routes,
})
const app = Vue.createApp({})
app.use(router)
app.mount('#app')