Skip to content

boilerplate with react, postcss modules and webpack for building

Notifications You must be signed in to change notification settings

hanford/react-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Folder Structure

After creation, your project should look like this:

my-app/
  README.md
  index.html
  favicon.ico
  node_modules/
  package.json
  src/
    app.css
    app.js
    index.css
    index.js

For the project to build, these files must exist with exact filenames:

  • index.html is the page template;
  • favicon.ico is the icon you see in the browser tab;
  • src/index.js is the JavaScript entry point.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

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!

About

boilerplate with react, postcss modules and webpack for building

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published