mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-06 05:19:43 +00:00
[WIP] initialize an app for address-picker + a demo page
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
|
||||
app.mount(elem);
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user