작성
·
335
0
antd와 icon을 설치하고 메뉴를 적용하려고 하는데
ReferenceError: Meun is not defined
This error happened while generating the page. Any console logs will be displayed in the terminal window.
이렇게 오류가 떴습니다.
오류가 뜬 위치는 appLayout의 8번째 줄 Menu입니다.
처음에는 제가 설치한 게 5 버전이라서 그런가 싶어 4.3.0 버전으로 다시 설치했는데도 똑같은 오류가 납니다.
현재 버전은 "@ant-design/icons": "^4.8.0", "antd" : "^4.3.0"입니다.
아래는 제 코드입니다.
손가락이랑 눈이 고장 났었나 봅니다.
감사합니다.