mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
add POC of a vuejs component (opens a modal) for address selection
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import { createApp } from 'vue'
|
||||
import { _createI18n } from 'ChillMainAssets/vuejs/_js/i18n'
|
||||
import { appMessages } from './js/i18n'
|
||||
import { getDataPromise } from './store'
|
||||
|
||||
import App from './App.vue';
|
||||
|
||||
// getDataPromise.then(store => {
|
||||
|
||||
// console.log('store address', store.state.address);
|
||||
|
||||
// const i18n = _createI18n(appMessages);
|
||||
// console.log(i18n)
|
||||
|
||||
// const app = createApp({
|
||||
// template: `<app></app>`,
|
||||
// })
|
||||
// .use(store)
|
||||
// .use(i18n)
|
||||
// .component('app', App)
|
||||
// .mount('#address');
|
||||
|
||||
// });
|
||||
|
||||
const i18n = _createI18n(appMessages);
|
||||
|
||||
const app = createApp({
|
||||
template: `<app></app>`,
|
||||
})
|
||||
.use(i18n)
|
||||
.component('app', App)
|
||||
.mount('#address');
|
Reference in New Issue
Block a user