File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ node_modules
Original file line number Diff line number Diff line change
1
+ # How to Deploy a React App to a Subdirectory
2
+ ### Define App Homepage in package.json
3
+ ### Set Basename in Router
4
+ ### Make changes in .htaccess
5
+ ### Make build and deploy
6
+
7
+
8
+ # How to Install - Step by Step Guide
9
+ 1 . Clone using the following repo link
10
+ ### ` git clone https://github.com/fullstacktutorials/deploy-react-app-subdirectory.git `
11
+
12
+ 2 . Go to the project folder and run npm install
13
+ ### ` cd deploy-react-app-subdirectory `
14
+ ### ` npm install `
15
+
16
+ 3 . Now run your app
17
+ ### ` npm start `
18
+
19
+
20
+
1
21
# Getting Started with Create React App
2
22
3
23
This project was bootstrapped with [ Create React App] ( https://github.com/facebook/create-react-app ) .
You can’t perform that action at this time.
0 commit comments