Giter Site home page Giter Site logo

diegonvs / gatsby-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 19.0 10.1 MB

An awesome boilerplate to start projects in Gatsby considering as starter point the development experience of Electric.js 🔥⚡⚡

Home Page: https://gatsbyboilerplate.netlify.com

License: MIT License

JavaScript 55.17% CSS 44.83%
gatsby electric boilerplate gatsby-boilerplate gatsby-starter-kit gatsby-starter

gatsby-boilerplate's Introduction

Gatsby Boilerplate 🚀

Netlify Status Build Status Renovate enabled

Gatsby Boilerplate is a Gatsby starter with a better development experience and the same content creation experience than Electric.js.

Feel free to contribute with issues and PRs!

Documentation

If you want to check the documentation 📚 click on this link.

Setup

  1. Clone this repo or use Gatsby command line interface using gatsby new [your_site] https://github.com/diegonvs/gatsby-boilerplate or git clone https://github.com/diegonvs/gatsby-boilerplate.git
  2. Make sure that you have yarn installed
  3. Navigate to project folder and run yarn
  4. Run npm run develop or yarn develop for development mode or run npm run build or yarn build for production mode
  5. If you want serve your production build just run npm run serve or yarn serve

gatsby-boilerplate's People

Contributors

alejandrohdezma avatar cgoncas avatar diegonvs avatar edalgrin avatar javiergamarra avatar jbalsas avatar lgdd avatar marcoscv avatar pat270 avatar renovate-bot avatar victorg1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gatsby-boilerplate's Issues

Reading component

Are there any plans to implement a reading component?

image

I would be happy to help if it is or isn't in progress 😄

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Rate Limited

These updates are currently rate limited. Click on a checkbox below to force their creation now.

  • Update dependency gh-pages to v4
  • Update dependency globby to v13
  • Update react monorepo to v18 (major) (react, react-dom)

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @mdx-js/mdx 0.15.7
  • @mdx-js/tag 0.18.0
  • browser-monads 1.0.0
  • classnames 2.2.6
  • clay-component 2.14.2
  • clay-css 2.14.2
  • clay-tooltip 2.15.1
  • gatsby 2.0.104
  • gatsby-mdx 0.1.4
  • gatsby-plugin-google-analytics 2.0.12
  • gatsby-plugin-manifest 2.0.15
  • gatsby-plugin-offline 2.0.22
  • gatsby-plugin-react-helmet 3.0.5
  • gatsby-plugin-sass 2.0.8
  • gatsby-plugin-zopfli 1.0.4
  • gatsby-remark-component 1.1.3
  • gatsby-remark-copy-linked-files 2.0.8
  • gatsby-remark-prismjs 3.2.3
  • gatsby-source-filesystem 2.0.18
  • gatsby-transformer-remark 2.2.2
  • metal-clipboard 2.0.1
  • metal-tabs 2.3.1
  • netlify-identity-widget 1.5.4
  • node-sass 4.13.0
  • nothing 0.1.0
  • prismjs 1.17.1
  • react 16.8.6
  • react-dom 16.8.6
  • react-helmet 5.2.1
  • wowjs 1.1.3
  • gh-pages 2.0.1
  • globby 9.2.0
  • rimraf 2.6.3
  • node >= 8
plugins/gatsby-plugin-meta-redirect/package.json
plugins/gatsby-remark-code-label-extractor/package.json
plugins/gatsby-remark-use-clipboard/package.json

  • Check this box to trigger a request for Renovate to run again on this repository

Installing dependencies with npm install doesn't work

If you install the dependencies with

npm i

npm will warn you about peer dependencies that need to be manually installed.

If you try to execute the start script with

npm start 

node will throw an error because of missing dependencies

In order to get all the depencies you need to use

yarn

We should avoid using 2 package managers

Missing serve script

Instructions in README.md currently state:

  1. Run npm run build or yarn build for production mode 3.1 If you want serve your production build just run npm run serve or yarn serve

There is no such serve script right now declared in package.json, though.

Sometimes the build crashes due formatString argument on date

Sometimes the console blows up this error:

GraphQL Error Unknown argument `formatString`

  file: /Users/diegonascimento/workspace/gatsby-boilerplate/src/components/Blog/BlogList/BlogList.js

   1 |
   2 |             query {
   3 |                 allMdx(filter: { fields: { slug: { regex: "/^blog/i"}, title: {  ne: "" } } },
   4 |                     sort: {order:DESC, fields: frontmatter___date}
   5 |                 ) {
   6 |                     edges {
   7 |                         node {
   8 |                             fields {
   9 |                                 slug
  10 |                                 title
> 11 |                                 date(formatString: "MMMM DD, YYYY")
     |                                      ^
  12 |                                 description
  13 |                                 author
  14 |                                 banner
  15 |                             }
  16 |                         }
  17 |                     }
  18 |                 }
  19 |             }
  20 |

 ERROR  Failed to compile with 1 errors                                       21:35:50

 error  in ./src/components/Blog/BlogList/BlogList.js

Module Error (from ./node_modules/eslint-loader/index.js):

/Users/diegonascimento/workspace/gatsby-boilerplate/src/components/Blog/BlogList/BlogList.js
  38:38  error  Unknown argument "formatString" on field "date" of type "fields_2"  graphql/template-strings

✖ 1 problem (1 error, 0 warnings)


 @ ./src/components/Blog/BlogList/index.js 7:0-34 8:15-23
 @ ./src/components/Blog/BlogMain/BlogMain.js
 @ ./src/components/Blog/BlogMain/index.js
 @ ./src/templates/blog.js
 @ ./gatsby/.cache/gatsby-mdx/mdx-wrappers-dir/ba7d3c27d52f0929fb04a0681cc61514--scope-hash-3010b3badc54a9dfa4a4c80e419a41b2.js
 @ ./.cache/sync-requires.js
 @ ./.cache/app.js
 @ multi ./node_modules/react-hot-loader/patch.js (webpack)-hot-middleware/client.js?path=http://localhost:8000/__webpack_hmr&reload=true&overlay=false ./.cache/app

✖ 「wdm」:
ERROR in ./src/components/Blog/BlogList/BlogList.js
Module Error (from ./node_modules/eslint-loader/index.js):

/Users/diegonascimento/workspace/gatsby-boilerplate/src/components/Blog/BlogList/BlogList.js
  38:38  error  Unknown argument "formatString" on field "date" of type "fields_2"  graphql/template-strings

✖ 1 problem (1 error, 0 warnings)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.