neko/client/src/main.ts
2021-11-28 14:33:52 +01:00

36 lines
710 B
TypeScript

import './assets/styles/main.scss'
import Vue from 'vue'
import Notifications from 'vue-notification'
import ToolTip from 'v-tooltip'
import Logger from './plugins/log'
import Client from './plugins/neko'
import Axios from './plugins/axios'
import Swal from './plugins/swal'
import Anime from './plugins/anime'
import { i18n } from './plugins/i18n'
import store from './store'
import app from './app.vue'
Vue.config.productionTip = false
Vue.use(Logger)
Vue.use(Notifications)
Vue.use(ToolTip)
Vue.use(Axios)
Vue.use(Swal)
Vue.use(Anime)
Vue.use(Client)
new Vue({
i18n,
store,
render: (h) => h(app),
created() {
this.$client.init(this)
this.$accessor.initialise()
},
}).$mount('#neko')