Closed cawa-93 closed 1 year ago
Some sets have icons with similar names like below from mdi
mdi
"123": { "parent": "numeric" }, "1-2-3": { "parent": "numeric" },
This icons will be compilet to two component with same name:
export const Icon123 = {name: 'Icon123', setup() { return () => h('svg', {"xmlns":"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":true,"role":"img","innerHTML":"<path fill=\"currentColor\" d=\"M4 17V9H2V7h4v10H4m18-2a2 2 0 0 1-2 2h-4v-2h4v-2h-2v-2h2V9h-4V7h4a2 2 0 0 1 2 2v1.5a1.5 1.5 0 0 1-1.5 1.5a1.5 1.5 0 0 1 1.5 1.5V15m-8 0v2H8v-4a2 2 0 0 1 2-2h2V9H8V7h4a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2v2h4Z\"/>","width":"24","height":"24","preserveAspectRatio":"xMidYMid meet","viewBox":"0 0 24 24"}) }}; export const Icon123 = {name: 'Icon123', setup() { return () => h('svg', {"xmlns":"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":true,"role":"img","innerHTML":"<path fill=\"currentColor\" d=\"M4 17V9H2V7h4v10H4m18-2a2 2 0 0 1-2 2h-4v-2h4v-2h-2v-2h2V9h-4V7h4a2 2 0 0 1 2 2v1.5a1.5 1.5 0 0 1-1.5 1.5a1.5 1.5 0 0 1 1.5 1.5V15m-8 0v2H8v-4a2 2 0 0 1 2-2h2V9H8V7h4a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2v2h4Z\"/>","width":"24","height":"24","preserveAspectRatio":"xMidYMid meet","viewBox":"0 0 24 24"}) }};
what throw exeption:
SyntaxError: redeclaration of const Icon123
Some sets have icons with similar names like below from
mdi
This icons will be compilet to two component with same name:
what throw exeption: