https://eui.elastic.co/#/forms/combo-box
Elastic UI
The Elastic UI framework (EUI) is a design library in use at Elastic to build internal products that need to share our aesthetics. It distributes UI React components and static assets for use in building web layouts.
eui.elastic.co:443





위에 있는 사이트에서 comboBox 태그를 사용하여 해당 이미지처럼 코드를 짰으나
아이콘을 불러오지 못하는 결과가 나온다.
https://github.com/elastic/eui/tree/main/wiki/consuming-eui#failing-icon-imports
eui/wiki/consuming-eui at main · elastic/eui
Elastic UI Framework 🙌. Contribute to elastic/eui development by creating an account on GitHub.
github.com
구글링해서 해당 경로를 알게 되었고, 참고하여 코드에 적용시켰다.



바로 오류없이 원하던 결과물이 출력되었다.
Elastic UI가 yarn에 최적화 되어있고, 해당과정이 필요 없는데
npm을 사용하니 위에 깃허브처럼 적용 시켜줘야 한다.
'TroubleShooting' 카테고리의 다른 글
| CommonJS (CJS) Warning (0) | 2024.11.14 |
|---|---|
| process is not defined 해결 (0) | 2024.11.13 |
| Localhost ERR_CONNECTION_REFUSED 오류 (0) | 2024.11.06 |