hyesungoh / comet-land

Blog and Resume template :comet:

Home Page:https://comet-land-blog.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog component directory convention

hyesungoh opened this issue · comments

as is

components
└── ComponentName
    └── index.tsx

to be

components
└── ComponentName
    ├── ComponentName.tsx
    └── index.tsx
// index.tsx
export { default } from './ComponentName';

for

IDE에서 확인되는 파일명을 통한 생산성 확보

해당 아티클 참고