File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
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
2
+ 1 . Define App Homepage in package.json
3
+ 2 . Set Basename in Router
4
+ 3 . Make changes in .htaccess
5
+ 4 . Make build and deploy
6
+ 5 . Enjoy!
6
7
7
8
8
9
# How to Install - Step by Step Guide
9
10
1 . Clone using the following repo link
10
- ### ` git clone https://github.com/fullstacktutorials/deploy-react-app-subdirectory.git `
11
+ #### ` git clone https://github.com/fullstacktutorials/deploy-react-app-subdirectory.git `
11
12
12
13
2 . Go to the project folder and run npm install
13
- ### ` cd deploy-react-app-subdirectory `
14
- ### ` npm install `
14
+ #### ` cd deploy-react-app-subdirectory `
15
+ #### ` npm install `
15
16
16
17
3 . Now run your app
17
- ### ` npm start `
18
+ #### ` npm start `
18
19
19
20
20
21
You can’t perform that action at this time.
0 commit comments