Migration to Nuxt v4 file structure and dependencies update

This commit is contained in:
Clément Pons
2025-11-13 10:05:41 +01:00
parent dd4191bea6
commit dfbb31595e
90 changed files with 652 additions and 924 deletions

View File

@@ -1,4 +1,4 @@
import { iconExists, loadIcon } from 'iconify-icon';
import { iconLoaded, loadIcon } from 'iconify-icon';
export type Node = HTMLElement | SVGElement | Text | undefined;
export type NodeChildren = Array<Node> | undefined;
@@ -128,7 +128,7 @@ export function icon(name: string, properties?: IconProperties): HTMLElement
{
element = document.createElement('iconify-icon');
if(!iconExists(name))
if(!iconLoaded(name))
loadIcon(name);
element.setAttribute('icon', name);