Here's a code challenge focused on using React frameworks and other tools to enhance delivery quality.
Run from the terminal
npm install
Run from the terminal
npm run dev
And open the browser as suggested URL appears on the terminal.
The command to build Javascript bundle is:
npm run build
The command to see the compilation code is:
npm run preview
User the URL suggested output terminal.
-
Start creating this file.
-
Added the respective suggestion on VS code settings file.
-
Setup the SCSS using vite compiler.
4.1 Installed the library sass-embedded following this command
npm install -D sass-embedded
-
Setup vite-plugin-vercel
5.1 Following this steps 5.2 Installed library using this command
npm i -D vite-plugin-vercel
5.3 Preview URL it is available on https://fashion-app-lyart.vercel.app/ -
Setup typescript
6.1 Command line:
npm install --save-dev typescript @types/react @types/react-dom
6.2npx tsc --init
6.3npm install --save-dev vite-plugin-svgr
-
Setup React Query
7.1 Installed the library using the command
npm i @tanstack/react-query
7.2 Installed the library using the commandnpm i @tanstack/react-query-devtools
-
Setup the .env file (it is native from vite) to save API TOKEN
8.1 Heres is the official documentation https://vite.dev/guide/env-and-mode 8.2 Installed
npm i --save-dev @types/node
for adding validations types 8.3 Make first API call with basic component -
Installing a Carousel
9.1 I selected swiperjs here is the installation webpage