feat(assets): implement useImages composable

This commit is contained in:
2025-11-18 19:48:20 +01:00
parent 92af1d6136
commit 18dc39b978

View File

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