레이아웃은 모든 뷰가 레이아웃 속의 요소 단 하나에 들어 있을 때 가장 잘 동작합니다. 하지
만 뷰 자체를 레이아웃의 다른 부분에 삽입해야 한다면 어떨까요? 뷰에서
<
head
>
요소에 무언
가를 추가해야 하거나, 제이쿼리를 사용하는
<
script
> 요소를 삽입하는 경우가 흔한 예입니다
(이 요소는 제이쿼리보다 뒤에
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.