mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
53 lines
1.2 KiB
JavaScript
Executable File
53 lines
1.2 KiB
JavaScript
Executable File
import GlobalComponents from './globalComponents'
|
|
import GlobalDirectives from './globalDirectives'
|
|
import SideBar from '@/components/SidebarPlugin'
|
|
|
|
import Toasted from 'vue-toasted'
|
|
|
|
// vue-bootstrap
|
|
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'
|
|
|
|
// asset imports
|
|
import '@/assets/scss/argon.scss'
|
|
import '@/assets/vendor/nucleo/css/nucleo.css'
|
|
|
|
import VueQrcodeReader from 'vue-qrcode-reader'
|
|
import VueQrcode from 'vue-qrcode'
|
|
|
|
import FlatPickr from 'vue-flatpickr-component'
|
|
import 'flatpickr/dist/flatpickr.css'
|
|
|
|
import VueMoment from 'vue-moment'
|
|
|
|
import Loading from 'vue-loading-overlay'
|
|
import 'vue-loading-overlay/dist/vue-loading.css'
|
|
|
|
import VueApollo from 'vue-apollo'
|
|
|
|
export default {
|
|
install(Vue) {
|
|
Vue.use(GlobalComponents)
|
|
Vue.use(GlobalDirectives)
|
|
Vue.use(SideBar)
|
|
Vue.use(BootstrapVue)
|
|
Vue.use(IconsPlugin)
|
|
Vue.use(VueMoment)
|
|
Vue.use(VueQrcodeReader)
|
|
Vue.use(VueQrcode)
|
|
Vue.use(FlatPickr)
|
|
Vue.use(Loading)
|
|
Vue.use(VueApollo)
|
|
Vue.use(Toasted, {
|
|
position: 'top-center',
|
|
duration: 5000,
|
|
fullWidth: true,
|
|
action: {
|
|
text: 'x',
|
|
onClick: (e, toastObject) => {
|
|
toastObject.goAway(0)
|
|
},
|
|
},
|
|
})
|
|
},
|
|
}
|