[WIP] initialize search bar

This commit is contained in:
2025-07-21 00:53:26 +02:00
parent 4323773595
commit be210a6dd6
3 changed files with 49 additions and 15 deletions

View File

@@ -1,10 +1,12 @@
import {createApp} from "vue";
import { createApp } from "vue";
import AddressPicker from "ChillMainAssets/vuejs/AddressPicker/AddressPicker.vue";
document.addEventListener('DOMContentLoaded', async () => {
document.querySelectorAll<HTMLDivElement>('div[data-address-picker]').forEach((elem): void => {
const app = createApp(AddressPicker);
document.addEventListener("DOMContentLoaded", async () => {
document
.querySelectorAll<HTMLDivElement>("div[data-address-picker]")
.forEach((elem): void => {
const app = createApp(AddressPicker);
app.mount(elem);
})
})
app.mount(elem);
});
});