neko/client/src/main.ts
2020-02-04 15:37:56 +00:00

34 lines
662 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 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({
store,
render: h => h(app),
created() {
this.$client.init(this)
this.$accessor.initialise()
},
}).$mount('#neko')