내 앱에서 맞춤 요소를 사용하려고하며 모든 브라우저 (Chrome, Safari, Opera, FireFox, IE)와 호환 가능해야합니다. 나는 바벨과 함께 ES6에서 ES5로 코드를 옮겼다. Internet Explorer를 대상으로하는 사용자 지정 요소 폴리 폴리이 있습니까?
나는 Polyfills로보고 다음과 같은 사용하여, 인터넷 익스플로러를 제외한 모든 브라우저에서 로컬 사이트 작업을 할 수 있었다 :<script src="../node_modules/webcomponents.js/webcomponents-lite.js"></script>
<script src="../node_modules/@webcomponents/shadydom/shadydom.min.js"></script>
script src="../node_modules/@webcomponents/custom-elements/custom-elements.min.js"></script>
내가 https://github.com/WebReflection/document-register-element으로 검토 한 사용자 지정 요소 ES5 어댑터 그러나 IE는 작동하지 않으며 다른 작동하는 브라우저 중 일부는 중단됩니다.
크로스 브라우저 테스트 사이트를 통해 IE를 테스트 해본 결과 검사 할 때 오류 메시지가 표시되지 않았습니다.
사용하고있는 요소
https://github.com/WebReflection을 읽었습니까?/document-register-element/issues/97 – Supersharp