A Next.js / Apollo GraphQL / Bulma boilerplate, with SASS, and tree-shaking in mind.
- Uses react-bulma-components
- SASS-ready
- Uses GraphQL apollo-client for data
- Feel free to use apollo-graphql-express-objection-server to quickly spin up an Apollo server with compatible authentication
- SSR-friendly JWT authentication / sign-in / token refresh flow (using Apollo retry middleware)
- Uses service workers to cache external project dependencies
- Includes webpack-bundle-analyzer
- Optimised for tree-shaking
- Uses next-plugin-transpile-modules:
- Includes aliased lodash-es (as
lodash
), which supports tree-shaking using the syntax:
import { map, tail, times, uniq } from 'lodash'
- Includes aliased lodash-es (as
- Uses next-plugin-transpile-modules: