This project was made from using weback and typescript with React.
-
For running this project you need to install nodejs in your system. If you already installed node in your system you can check out from here by running this command: node -v
-
Install dependencies:
npm install
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
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!
See the section about deployment for more information.
1. Each enviornment should have its own webpack and typscipt config file
1.Ex : webpack.config.prod.js,tsconfig.prod.json
2. More robust use of typescript
3. In Development code works fine but in production it is not taking relative path so need to
hashRouter so that it takes relative path
4. Layout context can be refined