Skip to content

mpolinowski/react-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Cheat Sheet 2023

Check out ./src/components for example components.

The project was set up using Vite.

Setting up a React project with Vite 4.2

npm create vite@latest
cd into/dir
npm install && npm run dev

  VITE v4.2.1  ready in 19597 ms

  ➜  Local:   http://localhost:5173/

To build a browser compatible version of your application run the following command and copy the generated files from the /dist directory into the public dir of your webserver:

npm run build