https://github.com/mpolinowski/react-2023
Just a React Cheat Sheet to refer to in times of need...
https://github.com/mpolinowski/react-2023
cheatsheet react
Last synced: about 2 months ago
JSON representation
Just a React Cheat Sheet to refer to in times of need...
- Host: GitHub
- URL: https://github.com/mpolinowski/react-2023
- Owner: mpolinowski
- Created: 2023-04-02T07:32:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-02T07:50:57.000Z (about 3 years ago)
- Last Synced: 2025-03-23T13:14:18.537Z (about 1 year ago)
- Topics: cheatsheet, react
- Language: JavaScript
- Homepage: https://mpolinowski.github.io/docs/Development/Javascript/2023-04-01-reactjs-2023/2023-04-01
- Size: 773 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Cheat Sheet 2023
Check out [./src/components](https://github.com/mpolinowski/react-2023/tree/master/src/components) for example components.
The [project was set up](https://mpolinowski.github.io/docs/Development/Javascript/2023-04-01-reactjs-2023/2023-04-01) using [Vite](https://vitejs.dev/).
## Setting up a React project with Vite 4.2
```bash
npm create vite@latest
```
```bash
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:
```bash
npm run build
```