TanishqSehgal7 / ReactJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactJS

Ways to Create a React APP

  1. npx create-react-app "App Name"

    Eg: npx create-react-app 01BasicsReact npx -> node package executor create-react-app -> it is a utility which lets us create a react app This method is a bulky method of installation and take time for project setup.

  2. Another method is through using Vite We can create a React project using Vite which is bundler

    npm create vite@latest -> command to create vite a project

    After putting the project name, package name, and selecting the React framework and language to be used, then run "npm install" to install node modules since Vite installation does not automatically install the node modules on its own.

About


Languages

Language:JavaScript 76.6%Language:CSS 17.4%Language:HTML 6.0%