This project provides a minimal setup to get React working in Vite with HMR (Hot Module Replacement) and some ESLint rules. It supports two official plugins: @vitejs/plugin-react
and @vitejs/plugin-react-swc
.
To get started with the project, follow these steps:
-
Make sure you have Node.js installed.
-
Clone the repository:
git clone https://github.com/your-username/burger-shop-react.git
Navigate to the project directory:
cd burger-shop-react
Install dependencies:
npm install
Run the app:
npm run dev
This will launch the application with Fast Refresh and ESLint for a smooth development experience.
If you are developing a production application, consider updating the ESLint configuration to enable type-aware lint rules. Follow the steps mentioned in the Expanding the ESLint Configuration section.
src: Contains the React source code for your Burger Shop application. public: Public assets and HTML file. Feel free to explore and modify the code to suit your needs. Happy coding!