2021-01-09 20:53:13 +03:30
|
|
|
/*=========================================================================================
|
|
|
|
|
File Name: main.jsقخ
|
|
|
|
|
Description: main vue(js) file
|
|
|
|
|
----------------------------------------------------------------------------------------
|
|
|
|
|
Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template
|
|
|
|
|
Author: Pixinvent
|
|
|
|
|
Author URL: http://www.themeforest.net/user/pixinvent
|
|
|
|
|
==========================================================================================*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import Vue from 'vue'
|
|
|
|
|
import Antd from 'ant-design-vue';
|
2021-02-19 15:46:05 +03:30
|
|
|
import App from './App.vue'
|
|
|
|
|
|
2021-01-09 20:53:13 +03:30
|
|
|
import 'ant-design-vue/dist/antd.less';
|
|
|
|
|
|
|
|
|
|
// Vuesax Component Framework
|
|
|
|
|
import Vuesax from 'vuesax'
|
|
|
|
|
import 'material-icons/iconfont/material-icons.css' //Material Icons
|
|
|
|
|
import 'vuesax/dist/vuesax.css' // Vuesax
|
|
|
|
|
Vue.use(Vuesax)
|
|
|
|
|
Vue.use(Antd)
|
|
|
|
|
|
|
|
|
|
// axios
|
|
|
|
|
import axios from './axios.js'
|
|
|
|
|
|
|
|
|
|
Vue.prototype.$http = axios
|
|
|
|
|
|
|
|
|
|
// API Calls
|
2021-03-14 09:40:47 +03:30
|
|
|
/*import './http/requests'*/
|
2021-01-09 20:53:13 +03:30
|
|
|
|
|
|
|
|
// mock
|
2021-03-14 09:40:47 +03:30
|
|
|
/*import './fake-db/index.js'*/
|
2021-01-09 20:53:13 +03:30
|
|
|
|
|
|
|
|
// Theme Configurations
|
|
|
|
|
import '../themeConfig.js'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Firebase
|
|
|
|
|
import '@/firebase/firebaseConfig'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Auth0 Plugin
|
|
|
|
|
import AuthPlugin from './plugins/auth'
|
|
|
|
|
|
|
|
|
|
Vue.use(AuthPlugin)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ACL
|
|
|
|
|
import acl from './acl/acl'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Globally Registered Components
|
|
|
|
|
import './globalComponents.js'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Styles: SCSS
|
|
|
|
|
import './assets/scss/main.scss'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Tailwind
|
|
|
|
|
import '@/assets/css/main.css'
|
|
|
|
|
|
|
|
|
|
// Vue Router
|
|
|
|
|
import router from './router'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Vuex Store
|
|
|
|
|
import store from './store/store'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// i18n
|
|
|
|
|
import i18n from './i18n/i18n'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Vuexy Admin Filters
|
|
|
|
|
import './filters/filters'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Clipboard
|
2021-03-14 09:40:47 +03:30
|
|
|
/*import VueClipboard from 'vue-clipboard2'
|
2021-01-09 20:53:13 +03:30
|
|
|
|
2021-03-14 09:40:47 +03:30
|
|
|
Vue.use(VueClipboard)*/
|
2021-01-09 20:53:13 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
// Tour
|
2021-03-14 09:40:47 +03:30
|
|
|
/*import VueTour from 'vue-tour'
|
2021-01-09 20:53:13 +03:30
|
|
|
|
|
|
|
|
Vue.use(VueTour)
|
2021-03-14 09:40:47 +03:30
|
|
|
require('vue-tour/dist/vue-tour.css')*/
|
2021-01-09 20:53:13 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
// VeeValidate
|
|
|
|
|
import VeeValidate from 'vee-validate'
|
|
|
|
|
|
|
|
|
|
Vue.use(VeeValidate)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Google Maps
|
2021-03-14 09:40:47 +03:30
|
|
|
/*import * as VueGoogleMaps from 'vue2-google-maps'
|
2021-01-09 20:53:13 +03:30
|
|
|
|
|
|
|
|
Vue.use(VueGoogleMaps, {
|
|
|
|
|
load: {
|
|
|
|
|
// Add your API key here
|
|
|
|
|
key: 'AIzaSyB4DDathvvwuwlwnUu7F4Sow3oU22y5T1Y',
|
|
|
|
|
libraries: 'places' // This is required if you use the Auto complete plug-in
|
|
|
|
|
}
|
2021-03-14 09:40:47 +03:30
|
|
|
})*/
|
2021-01-09 20:53:13 +03:30
|
|
|
|
|
|
|
|
// Vuejs - Vue wrapper for hammerjs
|
|
|
|
|
import {VueHammer} from 'vue2-hammer'
|
|
|
|
|
|
|
|
|
|
Vue.use(VueHammer)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Vuejs - Vue wrapper for hammerjs
|
|
|
|
|
import notify from './notify'
|
|
|
|
|
|
|
|
|
|
Vue.use(notify)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// PrismJS
|
2021-03-14 09:40:47 +03:30
|
|
|
//import 'prismjs'
|
2021-01-09 20:53:13 +03:30
|
|
|
import 'prismjs/themes/prism-tomorrow.css'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Feather font icon
|
|
|
|
|
require('./assets/css/iconfont.css')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Vue select css
|
|
|
|
|
// Note: In latest version you have to add it separately
|
|
|
|
|
// import 'vue-select/dist/vue-select.css';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
|
|
|
|
new Vue({
|
|
|
|
|
router,
|
|
|
|
|
store,
|
|
|
|
|
i18n,
|
|
|
|
|
acl,
|
|
|
|
|
render: h => h(App)
|
|
|
|
|
}).$mount('#app')
|