19 lines
392 B
JavaScript
19 lines
392 B
JavaScript
import { createApp } from 'vue';
|
|
import { createI18n } from 'vue-i18n';
|
|
import store from '../survey/store';
|
|
import i18nMessages from '../survey/i18n';
|
|
import App from '../survey/App.vue';
|
|
|
|
const app = createApp(App);
|
|
const i18n = createI18n({
|
|
locale: 'en',
|
|
messages: i18nMessages,
|
|
});
|
|
|
|
app.use(i18n);
|
|
app.use(store);
|
|
|
|
window.onload = () => {
|
|
window.WOOT_SURVEY = app.mount('#app');
|
|
};
|