This project was created with npm create vue@latest
Vue 3
(composition API), Typescript
, vite
, vitest
, @vue/test-utils
, @vueuse/core
, vite-plugin-mock-server
- Add ability to select the new team members department
- Add ability to generate new buddy after clicking on the
Generate buddy
button - Load the new buddy's avatar
- Page should be responsive
- Assume that the first department of each user is the user's primary department
- Randomly select a buddy that does not belong in the same department as the one selected in the dropdown
interface Member {
name: string
picture: string
departments: string[]
}
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test
Lint with ESLint
npm run lint