Gatsby: Guide for "Styled Components" missing some info so it breaks

Created on 11 Feb 2018  路  3Comments  路  Source: gatsbyjs/gatsby

Description

In the "Using CSS-in-JS library Styled Components" guide there is a step missing when adding the styled-components code to the pages/index.js file.

Based on the specific installation instruction provided, this component doesn't exist in the project at any point. It will break the app when running gatsby develop.

import Container from "../components/container";

Expected behavior

Show the user how to build the <Container> component so that that goodness of styled-components can shine through! 馃尀

Most helpful comment

I can take this one if no one's working on it already :)

All 3 comments

Thanks for finding this! Want to add this?

I can take this one if no one's working on it already :)

Fixed by @RxAssim in https://github.com/gatsbyjs/gatsby/pull/3988 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rossPatton picture rossPatton  路  3Comments

dustinhorton picture dustinhorton  路  3Comments

jimfilippou picture jimfilippou  路  3Comments

ghost picture ghost  路  3Comments

hobochild picture hobochild  路  3Comments