This is a simplified version of the default Gatsby boilerplate.
See gatsbyjs/gatsby-starter-default.
Use the Gatsby CLI to create a new site, specifying this starter. After this, See CONTRIBUTING.md on info on how to start a server.
# Using the official Gatsby tool
npx gatsby new my-project-name https://github.com/rstacruz/gatsby-starter-simplified
# ...or using degit
npx degit rstacruz/gatsby-starter-simplified my-project-name
(degit automates starting projects using templates in GitHub.)
These are the files you'll find here. They're a reduced subset of the original gatsby-starter-default package.
src/components/Layout.tsx
— Layout componentsrc/pages/404.tsx
— Not found pagesrc/pages/index.tsx
— Home pagegatsby-config.js
— Gatsby configpackage.json
— Package manifest
This is based off the default starter pack with a lot of simplifications:
- ❌ Removed: all default CSS
- ❌ Removed: Extraneous config files
- ❌ Removed: Service workers support (
gatsby-plugin-offline
) - ❌ Removed: Responsive image support (
gatsby-image
) - ❌ Removed: Image optimization (
gatsby-plugin-sharp
) - ❌ Removed: Mobile manifest (
gatsby-plugin-manifest
) - ➕ Added: Normalize/reset CSS (
sanitize.css
) - ➕ Added: TypeScript (
gatsby-plugin-typescript
)