Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
모듈 스크립트 로드 실패: JavaScript 모듈 스크립트를 예상했지만 서버가 "text/html"의 MIME 유형으로 응답했습니다. HTML 사양에 따라 모듈 스크립트에 대해 엄격한 MIME 유형 검사가 시행됩니다.
import를 해올 때 뒤 확장자명인 .js를 붙이지 않으면 일어나는 에러
해결방안
확장자를 잘 붙이자!