This is a solution to the REST Countries API with color theme switcher challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- See all countries from the API on the homepage
- Search for a country using an
input
field - Filter countries by region
- Click on a country to see more detailed information on a separate page
- Click through to the border countries on the detail page
- Toggle the color scheme between light and dark mode (optional)
- Semantic HTML5 markup
- TailwindCSS - CSS Framework
- Mobile-first workflow
- Vue.js - front-end framework Vue3 | Composition API
- Jest - for unit testing
- Pinia - Vue 3 state management library
- Cypress - for end to end testing
Mastering Vue <3
I want to complete these challenges using vue :)
- Github - Mikołaj Szymczuk
- Frontend Mentor - @mikolajszymczuk1
LOVE VUE <3
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Cypress
npm run build
npm run test:e2e # or `npm run test:e2e:ci` for headless testing
Lint with ESLint
npm run lint