프론트엔드/리액트(React)

yarn ~ react ~ stroybook 까지 설치하기

xhakxh135 2023. 10. 20. 14:13
반응형
SMALL

1. npm install -g yarn (yarn을 루트에 설치)

2. npx create-react-app (react 설치)

3. npx -p @storybook/cli sb init (스토리북 설치)

4. yarn storybook (yarn으로 스토리북 실행)

 

스토리북 실행 할 때는 npm run storybook / yarn stroybook

반응형
LIST