diff --git a/public/mix-manifest.json b/public/mix-manifest.json index d5ae5bc..7185f00 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,6 +1,6 @@ { - "/js/vue/Authentication/app.js": "/js/vue/Authentication/app.js?id=126dc6f3c173336b3c08", - "/js/vue/Home/app.js": "/js/vue/Home/app.js?id=a473f236ecf7672e01a4", - "/js/vue/Modules/CRM/app.js": "/js/vue/Modules/CRM/app.js?id=70272cd7c8699afb3cee", - "/js/vue/User/app.js": "/js/vue/User/app.js?id=325f2bd5f24076b868ff" + "/js/vue/Authentication/app.js": "/js/vue/Authentication/app.js?id=96a8a21c57f3f6607a24", + "/js/vue/Home/app.js": "/js/vue/Home/app.js?id=cc6efa13405e4735fca0", + "/js/vue/Modules/CRM/app.js": "/js/vue/Modules/CRM/app.js?id=7a7f9e30ad43098f5a32", + "/js/vue/User/app.js": "/js/vue/User/app.js?id=31c08a25d351028ec785" } diff --git a/resources/js/Authentication/App.vue b/resources/js/Authentication/App.vue deleted file mode 100644 index 6ae793f..0000000 --- a/resources/js/Authentication/App.vue +++ /dev/null @@ -1,231 +0,0 @@ - - - - - diff --git a/resources/js/Authentication/app.js b/resources/js/Authentication/app.js deleted file mode 100644 index f125cc6..0000000 --- a/resources/js/Authentication/app.js +++ /dev/null @@ -1,85 +0,0 @@ -import Vue from 'vue' -import App from './App.vue' -import router from './router.js' -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"; -import Breadcrumbs from '@Global/components/Misc/Breadcrumbs'; - - - -Vue.component('WM-PartTitle', PartTitle) -Vue.component('WM-PageTitle', PageTitle) -Vue.component('WM-Checkbox', Checkbox) -Vue.component('WM-InfoBlock', InfoBlock) -Vue.component('wm-breadcrumbs', Breadcrumbs) - -/** - * 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 -> - */ - -// 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'); diff --git a/resources/js/Authentication/components/Background.vue b/resources/js/Authentication/components/Background.vue deleted file mode 100644 index 6a22394..0000000 --- a/resources/js/Authentication/components/Background.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - - - diff --git a/resources/js/Authentication/components/Header.vue b/resources/js/Authentication/components/Header.vue deleted file mode 100644 index 0eaeb64..0000000 --- a/resources/js/Authentication/components/Header.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/resources/js/Authentication/components/Loader.vue b/resources/js/Authentication/components/Loader.vue deleted file mode 100644 index e635af7..0000000 --- a/resources/js/Authentication/components/Loader.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - diff --git a/resources/js/Authentication/components/Menu.vue b/resources/js/Authentication/components/Menu.vue deleted file mode 100644 index 57f1a31..0000000 --- a/resources/js/Authentication/components/Menu.vue +++ /dev/null @@ -1,632 +0,0 @@ - - - - - diff --git a/resources/js/Authentication/components/TestMenu.vue b/resources/js/Authentication/components/TestMenu.vue deleted file mode 100644 index 64a7e96..0000000 --- a/resources/js/Authentication/components/TestMenu.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/resources/js/Authentication/components/Tile.vue b/resources/js/Authentication/components/Tile.vue deleted file mode 100644 index f120a39..0000000 --- a/resources/js/Authentication/components/Tile.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - - - diff --git a/resources/js/Authentication/router.js b/resources/js/Authentication/router.js deleted file mode 100644 index 711bb4e..0000000 --- a/resources/js/Authentication/router.js +++ /dev/null @@ -1,34 +0,0 @@ -import Vue from 'vue' -import Router from 'vue-router' - -Vue.use(Router) - -const router = new Router({ - mode: 'history', - base: process.env.BASE_URL, - linkActiveClass: "WM-Active", - linkExactActiveClass: "WM-Exact-Active", - routes: [ - // { - // path: '*', - // redirect: '/Login' - // }, - - ] -}) - -router.beforeResolve((to, from, next) => { - if (to.name && router.app.$children[0] != undefined) - router.app.$children[0].loadingVisible = true; - - setTimeout(() => { - next(); - }, 500) -}) - -router.afterEach(() => { - if (router.app.$children[0] != undefined) - router.app.$children[0].loadingVisible = false; -}) - -export default router; diff --git a/resources/js/Authentication/store.js b/resources/js/Authentication/store.js deleted file mode 100644 index 41a3bc6..0000000 --- a/resources/js/Authentication/store.js +++ /dev/null @@ -1,20 +0,0 @@ -import Vue from 'vue' -import Vuex from 'vuex' - -Vue.use(Vuex) - -export default new Vuex.Store({ - state: { - UserDetails: false, - UserRoles: false, - OrderDetails: false, - OrderStatus: false, - SendEmail: false, - SendSMS: false - }, - mutations: { - Log(state, ToLog) { - console.log(ToLog); - } - } -}) diff --git a/resources/views/Authentication.blade.php b/resources/views/Authentication.blade.php deleted file mode 100644 index 1c8e320..0000000 --- a/resources/views/Authentication.blade.php +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - {{-- --}} - - New Design - - - - - -
- {{--
-
W
-
I
-
L
-
L
-
A
-
E
-
N
-
G
-
I
-
N
-
E
-
--}} - - - -
- - - - - - - {{-- - --}} - - - diff --git a/routes/web.php b/routes/web.php index 1a2951a..7c8849b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -23,9 +23,6 @@ Route::get('/WebsiteManagement/{any?}', function () { }); -Route::get( '/Login', function () { - return view( 'Authentication'); -}); Route::get('/{any?}', function () { return redirect('/Main/Home'); }); diff --git a/webpack.mix.js b/webpack.mix.js index 95e20a0..b5d082b 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -24,8 +24,7 @@ mix.webpackConfig({ }); -mix.js('resources/js/Authentication/app.js', 'public/js/vue/Authentication') - .js('resources/js/Home/app.js', 'public/js/vue/Home'); +mix.js('resources/js/Home/app.js', 'public/js/vue/Home'); require('./modules/wm-core/webpack.mix');