frontend: reorganise assets

This commit is contained in:
nkanaev
2026-06-30 19:05:58 +01:00
parent 3e75ee3a30
commit 077a45fce0
49 changed files with 46 additions and 48 deletions

12
src/frontend/js/main.ts Normal file
View File

@@ -0,0 +1,12 @@
import Vue from 'vue/dist/vue.esm.js'
import i18n from './i18n'
import App from './app'
import Login from './login'
Vue.use(i18n)
var vm = new Vue({
render: function (h) {
return h(window.app.authenticated ? App : Login)
}
}).$mount('#app')