Skip to content

Gatsby 1.0 starter with styled-components, typescript, redux, and jest

License

Notifications You must be signed in to change notification settings

micnigh/gatsby-starter-kit

Repository files navigation

Gatsby 1.0 starter with styled-components, typescript, redux, and jest

Quick start

# first time
npm install

# start a dev server
npm run develop

# build static site
npm run build

# run tests and watch
npm run test:watch

How is this different from gatsby default starter?

Extends gatsby-start-default with

Page routes have been changed to make it easier to include all related files in the same dir. A page route is now created only when a file ends in .page.tsx. All other files not found at src/pages/* or having the .page.tsx extension are assumed not be page entries.

This convention allows pages to have a structure similar to below

about/
 - components/
   - button/
     - index.tsx
     - styles.tsx
 - assets/
   - check.svg
 - index.page.tsx
 - styles.tsx

TODO

  • Use it in a real project

About

Gatsby 1.0 starter with styled-components, typescript, redux, and jest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published