Slide 18
Slide 18 text
ディレクトリ構造、空ファイルの作成
以下のようなディレクトリ構造を生成して、空ファイルを作成する
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
src # Generated client search endpoints
├── app
│ └── search
│ ├── page.tsx # Main search page branching
│ ├── layout.tsx # Search layout
│ │
│ ├── hooks # Container specific ( relationship)
│ │ └── useHogeContainer
│ │ └── index.ts
│ │
│ ├── constants # text constants
│ │ └── index.ts
│ │
│ ├── pc # Desktop components
│ │ └── components
│ │ ├── container # Container (logic)
│ │ │ ├── index.tsx # Main container component
│ │ │ └── SimpleFilterContainer
│ │ │ └── index.tsx
│ │ └── presentational # components
│ │ └── SearchResultView
│ │ ├── index.tsx
│ │ └── Loading
│ │ └── index.tsx
│ │
│ └── sp # Mobile components
│ └── components
│ ├── common
│ ├── container # Container (logic)
│ └── [Same structure pc components container ]
│ └── presentational # components
│ └── [Same structure pc components presentational ]
/
/
/
/
/ - :
/
/
/
/
/
/
/
/
/
/
/
/
/
/ / /
/
/ / /
API
PC SP
UI
UI
UI
with
with
as
as
hooks
components
components
1 1