**e.g) ComponentsTest.tsx**
index**Page**.ts
(끝에 Page명 표기)e.g. Layout.module.css
**rafce**
스니펫 사용
const Component () => {
return <></>
}
export default Component;**파일 이름**
project-root/
|📂 src/
| |📂 assets
| |📂 app
| | |📄 layout.tsx
| | |📄 not-found.tsx
| | |📄 page.tsx
| | |📂 login/
| | | |📄 page.tsx
| |📂 components/
| | |📂 layout/
| | | |📄 Header.tsx
| | | |📄 Content.tsx
| |📂 types/
| | |📄 common.d.ts
| | |📄 supabase.d.ts
**const**
로만 필요 시 **let**
_
로 작성**e.g) MAX_COUNT = 20
;****‘is’**
사용**e.g) addComment**, **checkIsDone
****e.g) addCart...**
**e.g) fetchData ...**
e.g) updateCart ...
e.g) reomveCart ...
e.g) clickCartHandler ...
**common**
폴더로 분리합니다.