Skip to content

The output of create react app supporting themes with a customized webpack for dev & production

Notifications You must be signed in to change notification settings

jasdeepkhalsa/create-react-app-customized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create React App with a Customized webpack

Create react app output supporting themes in dev and production

Pre-requisites

  • node
  • yarn

Installation

$ yarn

Usage

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.

You can use the URL aliases to navigate to the specific theme:

  • '/cat1' - For the category1 theme (default)
  • '/cat2' - For the category2 theme

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

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder with the themes specified in config/paths.js.
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!

See the section about deployment for more information.

Supported Browsers

By default, the generated project uses the latest version of React.

You can refer to the React documentation for more information about supported browsers.

Acknowledgements

TODO

About

The output of create react app supporting themes with a customized webpack for dev & production

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published