mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
chore(frontend): main js cleanup (#3346)
* feature(frontend): change env config reading * feature(frontend): cleanup main.js
This commit is contained in:
parent
a575e3843a
commit
e65ca9104f
@ -10,7 +10,6 @@
|
||||
<navbar class="main-navbar" :balance="balance"></navbar>
|
||||
</BCol>
|
||||
</BRow>
|
||||
<!-- TODO mobile sidebar needs new component to be fixed-->
|
||||
<mobile-sidebar @admin="admin" @logout="logout" />
|
||||
|
||||
<!-- Breadcrumb -->
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
import { createApp } from 'vue'
|
||||
|
||||
// import '@/assets/scss/gradido.scss'
|
||||
|
||||
import 'bootstrap/dist/css/bootstrap.css'
|
||||
import 'bootstrap-vue-next/dist/bootstrap-vue-next.css'
|
||||
|
||||
@ -46,19 +44,12 @@ app.use(FlatPickr)
|
||||
app.use(() => apolloProvider)
|
||||
// app.use(VueTimers)
|
||||
|
||||
// app.mixin(toasters)
|
||||
const filters = createFilters(i18n)
|
||||
app.config.globalProperties.$filters = {
|
||||
amount: filters.amount,
|
||||
GDD: filters.GDD,
|
||||
}
|
||||
|
||||
// TODO it will be used in future
|
||||
// app.config.globalProperties.$filters = {
|
||||
// GDD: filters.GDD,
|
||||
// amount: filters.amount,
|
||||
// }
|
||||
|
||||
loadAllRules(i18n.global, apolloProvider.defaultClient)
|
||||
|
||||
addNavigationGuards(router, store, apolloProvider.defaultClient)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user