- Basic configuration and folder structure
- Uses postcss and sass (with autoprefixer and pixrem)
- Leaves the styling to you
- Uses data from local json files
- SVG sprites: Add your icons in
components/icon
as .icon files and use them.
- Run:
npm install
to install the dependencies
- Run:
npm run develop
to run Gatsby - You should see shortly some text that says The development server is listening at:
http://localhost:8000
. Open that address in your browser and… - Start coding!
- Run:
npm run build
to build website into/public
folder - To review run
npm run serve
.
Run: npm run deploy
- this builds the project and then pushes a commit to gh-pages
branch of the same directory.
Run: npm run deployprod
- RTL: The usual method of generating different css file for RTL pages (as seen in static-html-boilerplate) will not work out of the box here since Gatsby pulls all the css together, this means the RTL css will override the LTR one.