nuxt document is not defined
Nuxt에서 component를 표시할 때 생기는 문제다. 처음 로딩 했을 때는 정상적으로 컴포넌트가 정상적으로 보이는데 새로고침을 하는 경우 "document is not defined" 라는 에러 메시지가 출력되고 정상적으로 페이지가 표시되지 않는다. 구글링한…
0 Comments
July 13, 2020
Nuxt에서 component를 표시할 때 생기는 문제다. 처음 로딩 했을 때는 정상적으로 컴포넌트가 정상적으로 보이는데 새로고침을 하는 경우 "document is not defined" 라는 에러 메시지가 출력되고 정상적으로 페이지가 표시되지 않는다. 구글링한…
Restaurants 생성 앞서 만든 strapi를 이용해 레스토랑 리스트를 만든다. Content Type 생성 strapi의 좌측 메뉴에서 Content-Types Builder 클릭+ Create new collection type 클릭restaurant 라는 이름으로 collection type을 생성한다.text 필드 생성을…
Nuxt 설치 Vue cli 설치 yarn global add @vue/cli # 또는 npm install -g @vue/cli 프로젝트 디렉토리 생성 mkdir deliveroo-clone-tutorial cd deliveroo-clone-tutorial frontend 디렉토리 생성 yarn create nuxt-app frontend #…