fix(cdn): pindahkan filerobot-image-editor dan dropzone dari CDN ke lokal
This commit is contained in:
parent
d555d62f99
commit
10b1426434
@ -23,13 +23,11 @@
|
|||||||
"clipboard": "^2.0.11",
|
"clipboard": "^2.0.11",
|
||||||
"esri-leaflet": "^3.0.12",
|
"esri-leaflet": "^3.0.12",
|
||||||
"esri-leaflet-geocoder": "^3.1.5",
|
"esri-leaflet-geocoder": "^3.1.5",
|
||||||
"filerobot-image-editor": "^4.8.1",
|
|
||||||
"imask": "^7.6.1",
|
"imask": "^7.6.1",
|
||||||
"jquery": "^3.7.1",
|
"jquery": "^3.7.1",
|
||||||
"mini-svg-data-uri": "^1.4.4",
|
"mini-svg-data-uri": "^1.4.4",
|
||||||
"notie": "^4.3.1",
|
"notie": "^4.3.1",
|
||||||
"pdfobject": "^2.3.0",
|
"pdfobject": "^2.3.0",
|
||||||
"react-filerobot-image-editor": "^4.9.1",
|
|
||||||
"sweetalert2": "^11.14.3",
|
"sweetalert2": "^11.14.3",
|
||||||
"toastr": "^2.1.4",
|
"toastr": "^2.1.4",
|
||||||
"tom-select": "^2.3.1"
|
"tom-select": "^2.3.1"
|
||||||
|
1
public/vendor/dropzone/dropzone.min.css
vendored
Normal file
1
public/vendor/dropzone/dropzone.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/vendor/dropzone/dropzone.min.js
vendored
Normal file
1
public/vendor/dropzone/dropzone.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
public/vendor/filerobot-image-editor/filerobot-image-editor.min.js
vendored
Normal file
8
public/vendor/filerobot-image-editor/filerobot-image-editor.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@ import TomSelect from "tom-select";
|
|||||||
import toast from "toastr";
|
import toast from "toastr";
|
||||||
import "toastr/build/toastr.css";
|
import "toastr/build/toastr.css";
|
||||||
import IMask from "imask";
|
import IMask from "imask";
|
||||||
import FilerobotImageEditor from "filerobot-image-editor";
|
// import FilerobotImageEditor from "filerobot-image-editor";
|
||||||
|
|
||||||
window.jQuery = $;
|
window.jQuery = $;
|
||||||
window.$ = $;
|
window.$ = $;
|
||||||
@ -16,7 +16,7 @@ window.Swal = Swal;
|
|||||||
window.swal = Swal;
|
window.swal = Swal;
|
||||||
|
|
||||||
window.IMask = IMask;
|
window.IMask = IMask;
|
||||||
window.FilerobotImageEditor = FilerobotImageEditor;
|
// window.FilerobotImageEditor = FilerobotImageEditor;
|
||||||
|
|
||||||
document.querySelectorAll(".tomselect").forEach((el) => {
|
document.querySelectorAll(".tomselect").forEach((el) => {
|
||||||
let settings = {
|
let settings = {
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
<base href="/">
|
<base href="/">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||||
|
<link rel="stylesheet" href="{{ asset('vendor/dropzone/dropzone.min.css') }}" type="text/css" />
|
||||||
|
|
||||||
@vite(Module::getAssets())
|
@vite(Module::getAssets())
|
||||||
@stack('styles')
|
@stack('styles')
|
||||||
</head>
|
</head>
|
||||||
@ -55,6 +57,8 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<!--end::Theme mode setup on page load-->
|
<!--end::Theme mode setup on page load-->
|
||||||
|
<script src="{{ asset('vendor/filerobot-image-editor/filerobot-image-editor.min.js') }}"></script>
|
||||||
|
<script src="{{ asset('vendor/dropzone/dropzone.min.js') }}"></script>
|
||||||
|
|
||||||
@yield('main')
|
@yield('main')
|
||||||
@stack('scripts')
|
@stack('scripts')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user