전체 글200 react / webpack ] export 'filename' was not found in './xx' 에러 메세지export 'filename' was not found in './xx' 브라우저 에러Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. 해결컴포넌트를 불러올 때기존 : import { TestComponent } from './test/TestCom.. 2019. 1. 25. IE에서 iframe pdf z-index 적용 안되는 이슈 문제점IE에서 iframe을 사용해 pdf 파일을 보여주는데 드롭다운 메뉴가 pdf 뒤로 가려짐.=> z-index 적용해도 가려짐 원인내부 렌더링을 하는 일반적인 DOM 요소는 windowless로 각각의 z-index를 준수하지만 MSHTML 외부에서 렌더링하는 것은 windowed로 (select 등)은 z-index를 준수하지 않는다.iframe 태그는 둘다 z-index 준수. * iframe은 windowed 요소 였지만 IE5.5에서 windowless 로 변경되었음. 해결pdf보다 상위에 출력될 요소 iframe 태그 추가 참고https://stackoverflow.com/questions/12911428/z-index-does-not-work-in-internet-explorer-with.. 2018. 12. 7. angularJs - 함수 사용 시 [$parse:sysntax] 오류Error: [$parse:syntax] http://errors.angularjs.org/1.2.1/$parse/syntax?.... 코드 해결https://stackoverflow.com/questions/25240616/angular-function-error-parsesyntax 2018. 8. 6. JsRender #index 작동 안함. 오류 로직{{for data}}{{if statement != ""}}{{if #index == 0}}Contents{{/if}}{{else}}{{if #index == 0}}Contents{{/if}}{{/if}}{{/for}} 오류 이유 {{:#index}} 찍어 본 결과index : For #index in nested block use #getIndex().중첩된 블록 안에서 인덱스에 접근할 수 없다. 해결https://github.com/BorisMoore/jsrender/issues/173#index 말고 #getIndex() 사용.※ 중첩된 블록이 아닌 경우에는 #index를 사용하는 것이 좋다. 2018. 5. 9. 이전 1 ··· 10 11 12 13 14 15 16 ··· 50 다음 반응형