#ghpages-react-es6-bs4-webpack
Quickly publish your frontend demos to GitHub Pages, using React, ES6, Bootstrap 4, and Webpack
Master branch /docs folder
npm install
. This will install required dependencies.npm run build
. This will compile your assets and generate a bundle in the docs/assets
directory.http://your-github-username.github.io/your-project-name
Now you can go to src/App.jsx
, remove the sample content and get started building your own project. Just make your changes, npm run build
, commit and push - simple!
.babelrc
.npm start
. A browser window will open and will hot reload as you edit your code, without refreshing the page.src/styles/_defaults.scss
for convenience; it doesn’t get used, it’s just a handy reference for bootstrap’s defaults which you can override in bootstrap-custom.scss
.