코드생성

· Infra
1. 코드 생성 자동화의 필요성리액트 컴포넌트를 개발한다고 합시다. 컴포넌트의 이름을 정하고, index.tsx, index.module.scss, stories.tsx를 만듭니다.그리고 항상 똑같은 코드를 작성합니다.컴포넌트의 이름만 바뀌고, 같은 코드가 반복됩니다.// index.tsximport classNames from 'classnames/bind';import styles from './styles.module.scss';const cx = classNames.bind(styles);interface Props {}export const Component = ({}: Props) => { return };// index.stories.tsximport type { Meta, StoryObj..
Daejlee
'코드생성' 태그의 글 목록