A Webpack template to easily deploy on GitHub Pages
Just clone this repo on your computer and remove .git
directory.
cd ~/code/<your_github_nickname>
git clone git@github.com:grmnlrt/webpack-template.git YOUR_PROJECT_NAME
cd YOUR_PROJECT_NAME
rm -rf .git
yarn install
git init
hub create
Just few commands to know:
yarn create-gh-pages
: creates yourgh-pages
(run this command only once to create thegh-pages
)yarn deploy
: deploys latest changes committed onmaster
on yourgh-pages
yarn server
: starts a server locally and allows you to access to your project onlocalhost:8080
You can find this template with Bootstrap 4 here.