How to run react js
open command prompt
enter these commands in cmd
npm install –g create-react-app
cd hello-world-example
npm start
import React from 'react'; import logo from './logo.svg'; import './App.css'; function App() { return ( <div className="App"> Hello World ! </div> ); } export default App;
Paste this code in
C:\Users\CDU\hello-world-example\src
as app.js
Project 1
Step 1:
git clone https://github.com/JacobArthurs/expense-tracker-frontend.git
Step 2:
cd ./expense-tracker-frontend/
Step 3:
npm install
Step 4:
VITE_API_URL=http://localhost:8080
Step 5:
npm run dev
http://localhost:5173/ Open with this link
Nice Post!!
ReplyDeletePlease Look Here At Web Development Company Dubai
Nice Post!!
ReplyDeletePlease Look Here At Xlim Pro 2