You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.3 KiB
81 lines
2.3 KiB
|
|
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import store from './store'
|
|
import VueScrollReveal from 'vue-scroll-reveal'
|
|
import Vuetify from 'vuetify'
|
|
import {global} from '../Global/mixins/global';
|
|
|
|
import 'popper.js'
|
|
import 'bootstrap-v4-rtl'
|
|
import 'bootstrap-v4-rtl/scss/bootstrap-rtl.scss'
|
|
import 'bootstrap-select'
|
|
import 'bootstrap-select/dist/css/bootstrap-select.css'
|
|
import 'vuetify/dist/vuetify.min.css' // Ensure you are using css-loader
|
|
import '@Global/assets/Font-Icons/css/fontello.css'
|
|
import "@Global/scss/style.scss"
|
|
|
|
|
|
// components
|
|
import PartTitle from "@Global/components/Dividers/PartTitle.vue";
|
|
import PageTitle from "@Global/components/Dividers/PageTitle.vue";
|
|
import Checkbox from "@Global/components/Inputs/Checkbox.vue";
|
|
import InfoBlock from "@Global/components/Misc/InfoBlock.vue";
|
|
|
|
Vue.component('WM-PartTitle', PartTitle)
|
|
Vue.component('WM-PageTitle', PageTitle)
|
|
Vue.component('WM-Checkbox', Checkbox)
|
|
Vue.component('WM-InfoBlock', InfoBlock)
|
|
|
|
/**
|
|
* First we will load all of this project's JavaScript dependencies which
|
|
* includes Vue and other libraries. It is a great starting point when
|
|
* building robust, powerful web applications using Vue and Laravel.
|
|
*/
|
|
|
|
|
|
window.Vue = require('vue');
|
|
|
|
/**
|
|
* The following block of code may be used to automatically register your
|
|
* Vue components. It will recursively scan this directory for the Vue
|
|
* components and automatically register them with their "basename".
|
|
*
|
|
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
|
|
*/
|
|
|
|
// const files = require.context('./', true, /\.vue$/i)
|
|
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default))
|
|
|
|
/**
|
|
* Next, we will create a fresh Vue application instance and attach it to
|
|
* the page. Then, you may begin adding components to this application
|
|
* or customize the JavaScript scaffolding to fit your unique needs.
|
|
*/
|
|
|
|
|
|
Vue.use(Vuetify, {
|
|
iconfont: 'fa',
|
|
rtl: true,
|
|
});
|
|
|
|
// Vue.config.productionTip = false;
|
|
Vue.use(VueScrollReveal, {
|
|
class: 'v-scroll-reveal', // A CSS class applied to elements with the v-scroll-reveal directive; useful for animation overrides.
|
|
duration: 800,
|
|
scale: 1,
|
|
distance: '10px',
|
|
mobile: false
|
|
});
|
|
Vue.mixin(global);
|
|
|
|
|
|
|
|
|
|
const app = new Vue({
|
|
router,
|
|
store,
|
|
render: h => h(App),
|
|
}).$mount('#app');
|