|
@@ -1,5 +1,5 @@
|
|
|
import { markRaw, reactive } from "vue";
|
|
|
-import { images } from "../board/useBoard";
|
|
|
+import { images, customImage } from "../board/useBoard";
|
|
|
|
|
|
const componentLoads = import.meta.glob("./*.vue");
|
|
|
|
|
@@ -7,7 +7,7 @@ export const components: { [key in string]: any } = reactive({});
|
|
|
|
|
|
const map = {
|
|
|
label: ["Circle", "Rectangle", "Wall"],
|
|
|
- image: images,
|
|
|
+ image: [...images, customImage],
|
|
|
};
|
|
|
|
|
|
Object.entries(componentLoads).map(([name, fn]) => {
|