diff --git a/resources/mix/plugins.js b/resources/mix/plugins.js index 454c0d8..005f021 100644 --- a/resources/mix/plugins.js +++ b/resources/mix/plugins.js @@ -36,7 +36,7 @@ module.exports = [ // Select2 - Select2 is a jQuery based replacement for select boxes: https://select2.org/ 'node_modules/select2/dist/js/select2.full.js', - 'resources/_keenthemes/src//js/vendors/plugins/select2.init.js', + 'resources/_keenthemes/src/js/vendors/plugins/select2.init.js', // FormValidation - Best premium validation library for JavaScript. Zero dependencies. Learn more: https://formvalidation.io/ "resources/_keenthemes/src/plugins/@form-validation/umd/bundle/popular.min.js", @@ -64,7 +64,7 @@ module.exports = [ // DropzoneJS - is an open source library that provides drag'n'drop file uploads with image previews: https://www.dropzonejs.com/ 'node_modules/dropzone/dist/min/dropzone.min.js', - 'resources/_keenthemes/src//js/vendors/plugins/dropzone.init.js', + 'resources/_keenthemes/src/js/vendors/plugins/dropzone.init.js', // Quill - is a free, open source WYSIWYG editor built for the modern web. Completely customize it for any need with its modular architecture and expressive API: https://quilljs.com/ 'node_modules/quill/dist/quill.js', @@ -84,13 +84,13 @@ module.exports = [ // Sweetalert2 - a beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes: https://sweetalert2.github.io/ 'node_modules/sweetalert2/dist/sweetalert2.min.js', - 'resources/_keenthemes/src//js/vendors/plugins/sweetalert2.init.js', + 'resources/_keenthemes/src/js/vendors/plugins/sweetalert2.init.js', // CountUp.js - is a dependency-free, lightweight JavaScript class that can be used to quickly create animations that display numerical data in a more interesting way. 'node_modules/countup.js/dist/countUp.umd.js', // Chart.js - Simple yet flexible JavaScript charting for designers & developers - 'node_modules/chart.js/dist/chart.js', + 'node_modules/chart.js/dist/chart.umd.js', // Tiny slider - for all purposes, inspired by Owl Carousel. 'node_modules/tiny-slider/dist/min/tiny-slider.js', @@ -107,8 +107,3 @@ module.exports = [ 'node_modules/@eonasdan/tempus-dominus/dist/js/tempus-dominus.min.js', 'node_modules/@eonasdan/tempus-dominus/dist/plugins/customDateFormat.js', ]; - -// window.axios.defaults.headers.common = { -// 'X-Requested-With': 'XMLHttpRequest', -// 'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]').getAttribute('content') -// }; diff --git a/resources/mix/plugins.scss b/resources/mix/plugins.scss index 4bc480d..f112cb7 100644 --- a/resources/mix/plugins.scss +++ b/resources/mix/plugins.scss @@ -56,7 +56,7 @@ @import "~tiny-slider/dist/tiny-slider.css"; // Keenthemes Vendors customization -@import "../_keenthemes/src//sass/plugins"; +@import "../_keenthemes/src/sass/plugins"; // Keenicons - High quality and pixel perfect font icons available in 3 styles, duotone, outline and solid for Metronic elements @import "../_keenthemes/src/plugins/keenicons/duotone/style.css"; diff --git a/resources/mix/scripts.js b/resources/mix/scripts.js index b2059fd..759d52a 100644 --- a/resources/mix/scripts.js +++ b/resources/mix/scripts.js @@ -1,8 +1,8 @@ const glob = require('glob'); // Keenthemes' plugins -var componentJs = glob.sync(`resources/_keenthemes/src//js/components/*.js`) || []; -var coreLayoutJs = glob.sync(`resources/_keenthemes/src//js/layout/*.js`) || []; +var componentJs = glob.sync(`resources/_keenthemes/src/js/components/*.js`) || []; +var coreLayoutJs = glob.sync(`resources/_keenthemes/src/js/layout/*.js`) || []; module.exports = [ ...componentJs, diff --git a/resources/mix/vendors/datatables/datatables.bundle.js b/resources/mix/vendors/datatables/datatables.bundle.js index 1d159e6..4829498 100644 --- a/resources/mix/vendors/datatables/datatables.bundle.js +++ b/resources/mix/vendors/datatables/datatables.bundle.js @@ -2,7 +2,7 @@ module.exports = [ 'node_modules/datatables.net/js/jquery.dataTables.js', 'node_modules/datatables.net-bs5/js/dataTables.bootstrap5.js', - 'resources/_keenthemes/src//js/vendors/plugins/datatables.init.js', + 'resources/_keenthemes/src/js/vendors/plugins/datatables.init.js', 'node_modules/jszip/dist/jszip.js', 'node_modules/pdfmake/build/pdfmake.js', 'node_modules/pdfmake/build/vfs_fonts.js', diff --git a/resources/mix/vendors/formrepeater/formrepeater.bundle.js b/resources/mix/vendors/formrepeater/formrepeater.bundle.js index 3b21f5f..3c392af 100644 --- a/resources/mix/vendors/formrepeater/formrepeater.bundle.js +++ b/resources/mix/vendors/formrepeater/formrepeater.bundle.js @@ -1,5 +1,7 @@ // Form Repeater - Creates an interface to add and remove a repeatable group of input elements: https://github.com/DubFriend/jquery.repeater module.exports = [ - 'node_modules/jquery.repeater/jquery.repeater.js' + 'node_modules/jquery.repeater/src/lib.js', + 'node_modules/jquery.repeater/src/jquery.input.js', + 'node_modules/jquery.repeater/src/repeater.js', ];