storybook 시작 (1) 썸네일형 리스트형 [#. Storybook] React+Typescript+Storybook 시작하기 ① react 프로젝트에 storybook 설치 및 실행 ⑴ 설치 $ npx create-react-app [프로젝트명] --template typescript 아래 명령어들은 react 프로젝트 경로에서 입력한다 $ npx sb init ⑵ 실행 # npm $ npm run storybook # yarn $ yarn storybook @ npm run storybook 했지만 실행 에러 발생했을 경우 package-lock.json, yarn.lock, node_modules 삭제 npm cache clean --force npm install 아래 화면이 잘 뜨면 된다 @ 기존 React 프로젝트에 typescript 적용할 경우 # npm npm install typescript @types/nod.. 이전 1 다음