Note:
This feature is available
with react-scripts@0.2.0 and higher.
Prerequisites:
- The project should be checked in to github.
- In project setting enable gh-pages
Step 1: Add homepage to
package.json.
Step 2: Install gh-pages.
Step 3: Add the following scripts in
your package.json.
The pre-deploy script
will run automatically before deploy is run.
Step 3: Now deploy the application
by running the below command
I have deployed a sample app.
bulletin-board
Code in Github.com
I have deployed a sample app.
bulletin-board
Code in Github.com
0 comments:
Post a Comment