Git Product home page Git Product logo

storybook's Introduction

storybook setting

How to run

localhost에서 확인 시

1. npm install 
2. npm run storybook  

정적파일로 제공 시

1. npm install
2. npm run build-storybook
3. storybook-static 폴더를 제공 

How to use

스토리북에 올릴 컴포넌트를 src/stories에 컴포넌트.js, 컴포넌트.stories.js 쌍으로 대응시켜서 작성

ex) 
src/stories/Button.js
src/stories/Button.stories.js 
src/stories/Header.js
src/stories/Header.stories.js 
src/stories/Page.js
src/stories/Page.stories.js 

storybook's People

Contributors

karllees avatar

Watchers

 avatar

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.