feat(assets): implement useImages composable

This commit is contained in:
2025-11-18 19:48:20 +01:00
parent 8b492e1392
commit 2eb3a3520c

View File

@@ -0,0 +1,6 @@
export const useImages = (...paths: string[]) =>
paths.map((path) => {
const img = document.createElement("img");
img.src = path;
return img;
});