mirror of
https://github.com/nkanaev/yarr.git
synced 2026-07-15 19:16:32 +00:00
frontend: reorganise assets
This commit is contained in:
12
src/frontend/js/main.ts
Normal file
12
src/frontend/js/main.ts
Normal 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')
|
||||
Reference in New Issue
Block a user