File Manager / wp-content Search Upload New Item Settings File "db5.php" Full path: /home1/epichome/public_html/wp-content/db5.php File size: 60.67 B (60.67 KB bytes) MIME-type: text/x-php Charset: utf-8 Download Open Edit Advanced Editor Back
import { createApp } from "vue";
import AppFilters from "./components/filters/AppFilters.vue";
function newApp(container) {
let vueApp = createApp({
data: () => ({
extra: {},
}),
});
vueApp.component("AppFilters", AppFilters);
vueApp.config.globalProperties.$t = function (key) {
if (!Object.hasOwn(app.lang, key)) {
console.warn(`Language key "${key}" not found.`);
return key;
}
return app.lang[key]
};
vueApp.mount(container);
return vueApp;
}
newApp("#vueApp");
window.vNewApp = newApp;
