WebDevStudios / gatsby-starter-wordpress-graphql

A bare-bones Gatsby starter powered WordPress and WPGraphQL!
https://gatsby-starter-wordpress-graphql.netlify.com/
61 stars 10 forks source link

Adding StorybookJS to Gatsby Starter Theme #33

Open elpuas opened 4 years ago

elpuas commented 4 years ago

This is still a Work In Progress

Description

Add StorybookJS to Gatsby Starter, this is still a Work In Progress not sure if it suits for master at the moment, would love any feedback, at the moment I have add 3 components, Header, Footer & Byline

Screenshot

Screen Shot 2019-12-03 at 13 40 07

Steps for testing

Install the CLI npm install -g @storybook/cli

Install the packages with yarn

Then run npm run storybook

got to localhost:6006/ to see your storybook

elpuas commented 4 years ago

@gregrickaby Not sure if this is suite for the master branch at the moment since this is still a WIP, this is more for a feedback.

gregrickaby commented 4 years ago

@elpuas I had to update all the dependencies in package.json before I could get it to work, but I really love where this is heading!