Storybook 설치 및 실행

fromzoo·2021년 9월 6일
0

React에서 Storybook 설치 및 실행하는 방법

설치

# Create our application:
npx create-react-app taskbox

cd taskbox

# Add Storybook:
npx -p @storybook/cli sb init

실행

# Start the component explorer on port 6006:
yarn storybook

# Run the frontend app proper on port 3000:
yarn start

출처

profile
프론트엔드 주니어 개발자 🚀

0개의 댓글