mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-06 05:19:43 +00:00
[WIP] initialize search bar
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user