gatsby-all-in
gatsby-all-in copied to clipboard
πβοΈA GatsbyJs starter that includes the most popular js libraries, already pre-configured and ready for use.

gatsby-all-in
πβοΈA GatsbyJs starter that includes the most popular js libraries, already pre-configured and ready for use. DEMO.
Getting started
- Create a new Gatsby site using the gatsby-all-in starter:
gatsby new blog https://github.com/Gherciu/gatsby-all-in
- Edit configuration variables in
.env.development
file - Start dev server:
npm run start
Features
-
ESLint
andStylelint
to enforce code style. Runnpm run lint:scripts
for.js|.jsx
andnpm run lint:styles
for.css|.scss
files. - Pre-commit hooks with
husky
andlint-staged
- Useful SCSS helpers
_mixins
and_vars
see all in./src/styles
-
redux
andredux-devtools
implimented and configured to work well indevelopment
mode andproduction
. The store is hot reloadable ;) - Aliases for all folders (components, styles, store etc.) see all available aliases in
./gatsby-config.js
-
antd
is added and configured to work well as an UI framework (css normalization is not need, antd has own) - All folders in
./src
have own README.md file with a little documentation and usage guide -
Helmet
implimented and configured withgatsby-plugin-react-helmet
see an example in./src/layouts/MainLayout.js
- Configured
tailwindcss
a utility-first CSS framework for rapidly building custom designs.
When ready to build for production
- Create file
.env.production
the content should be the same as in.env.development
- Build the project:
npm run build
- Start production server:
npm run serve
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Or you can sponsor via Open Collective
Author
@Gherciu/gatsby-all-in Β© GHERCIU, Released under the MIT License.
Authored and maintained by GHERCIU with help from contributors (list).