An open API service indexing awesome lists of open source software.

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

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