Deploying A React Webpack App (not Created With Create-react-app) To Github Pages
I'm fairly new to the React ecosystem; I've made a simple single page webpage for a tech conference and I want to deploy it to gh-pages. I know create-react-app has very good docu
Solution 1:
You can push the whole dev branch and select github to display the page from master
branch. Make sure that in master
branch the scripts are compiled into /
(index) of the repository, so your page shows up.
Solution 2:
I know it's late on this question, but you can use gulp
with gulp-gh-pages
to automate pushing a React build to Github Pages.
Post a Comment for "Deploying A React Webpack App (not Created With Create-react-app) To Github Pages"