diff --git a/package.json b/package.json index 31d2bbc..4541492 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,19 @@ { "private": true, "scripts": { + "dev": "mix", "development": "mix", "watch": "mix watch", "watch-poll": "mix watch -- --watch-options-poll=1000", "hot": "mix watch --hot", - "production": "mix --production" + "production": "mix --production", + "prod": "mix --production" }, "devDependencies": { "axios": "^0.21.1", "bootstrap": "^4.0.0", "cross-env": "^7.0", + "fslightbox": "^3.2.3", "jquery": "^3.2", "laravel-mix": "^6.0.16", "lodash": "^4.17.19", diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js index 63605fa..08f1b20 100644 --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -11,6 +11,7 @@ try { window.$ = window.jQuery = require('jquery'); require('bootstrap'); + require('fslightbox'); } catch (e) {} /** diff --git a/resources/views/ticket/index.blade.php b/resources/views/ticket/index.blade.php index e133d21..d45c9b6 100644 --- a/resources/views/ticket/index.blade.php +++ b/resources/views/ticket/index.blade.php @@ -59,14 +59,12 @@