index.html
The main sitesrc/
Location of all JavaScript and Sass filessrc/js/index.js
Main entry point for JavaScriptassets/
Static assets (images, data sources)
yarn install
- Run
These two commands will watch your JavaScript and your Sass files.
yarn start
yarn watch-sass
- In your browser, navigate to: http://localhost:8080/
To deploy on GitHub pages, I wrote a very simple deploy script at deploy.sh
.
When all of your changes on master
have been committed or stashed, you can run
the script to see all your changes on GitHub pages.
yarn build-sass # output to css folder
yarn build-js # output to bundle.js