https://github.com/gauravdalvi2012/webpack-react-setup
Basic setup for starting a project with Webpack and React
https://github.com/gauravdalvi2012/webpack-react-setup
react webpack
Last synced: 3 months ago
JSON representation
Basic setup for starting a project with Webpack and React
- Host: GitHub
- URL: https://github.com/gauravdalvi2012/webpack-react-setup
- Owner: gauravdalvi2012
- Created: 2024-04-25T14:36:53.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T17:34:31.000Z (about 2 years ago)
- Last Synced: 2025-06-01T09:10:12.509Z (about 1 year ago)
- Topics: react, webpack
- Language: JavaScript
- Homepage:
- Size: 306 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webpack + React Setup
This repository provides a basic setup for starting a project with Webpack and React.
## Getting Started
To get started with this setup, follow these steps:
Clone this repository to your local machine:
git clone https://github.com/gauravdalvi2012/webpack-react-setup
Install dependencies:
cd webpack-react-setup
npm install
Start the development server:
npm start
Open your web browser and navigate to http://localhost:8080 to view the app.
## Available Scripts
**build**: Builds the app for production to the dist folder.
npm run build
**build:dev**: Builds the app for development.
npm run build:dev
**build:prod**: Builds the app for production.
npm run build:prod
**watch**: Watches for changes and rebuilds the app automatically.
npm run watch
**start**: Starts the development server.
npm start
**format**: Formats code using Prettier.
npm run format