Open KaushikBhalara opened 8 months ago
To create react app there are 2 ways.
To Run react app
here project names can not contains captial letters
Steps to create project with Vite:
npm create vite ---------> this command will ask for template select react and then ask for project name give project name and then it select javascript as variant.
npm i eslint vite-plugin-eslint eslint-config-react-app --save-dev
create file named .eslintrc.json
add code
extends: { "react-app", }
go to vite config import eslint from "vite-plugin-eslint"; export default defineConfig({ plugins: [react(), eslint()], });
Steps to create basic project in React through CLI