Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.16 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.16 KB

A simple template for creating React application. Just clone this project and get started.

Available Scripts

In the project directory, you can run:

npm dev

Runs the app in the development mode.(using webpack-dev-server)
Open http://localhost:8080 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

npm run start

This serves the production build using 'serve' module. Run this after you create the production build.

Open http://localhost:8080 to view it in the browser.

Clean up

Install Dev Dependencies

npm install "@babel/core" "@babel/preset-env" "@babel/preset-react" "babel-loader" "clean-webpack-plugin" "css-loader" "file-loader" "html-webpack-plugin" "style-loader" "webpack" "webpack-cli" "webpack-dev-server" "webpack-merge" --save-dev

Install Dependencies

npm install "lodash" "react" "react-dom"