30
Jun
This guide will help you init a React project with Vite and use Tailwind. Prerequisite Use this command to check your NodeJS version node -v Enter fullscreen mode Exit fullscreen mode Create react project with vite Open your terminal and run the command npm create vite@latest Enter fullscreen mode Exit fullscreen mode It would ask you some question: Project name: Your project name, example: pokemon Select a framework: Choose React Select a variant: Pick TypeScript Then your project is created, open the project by VSCode or your other IDE and install dependencies by this command: npm install Enter fullscreen mode…