Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ts.corals.io/frontend/.nuxt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/ts.corals.io/frontend/.nuxt/src.plugin.20cee1b6.js
import Vue from 'vue'
import swal from 'sweetalert2/dist/sweetalert2.min.js'
import 'sweetalert2/dist/sweetalert2.min.css'

function isBrowser() {
    return typeof window !== 'undefined'
}

var VueSweetalert2 = function() {}

VueSweetalert2.install = function(Vue, options) {
    // 1. adding a global method or property
    var _swal = isBrowser() ? swal.mixin(options) : function() { return Promise.resolve(); };

    Vue.swal = _swal

    // 4. add the instance method
    if (!Vue.prototype.hasOwnProperty('$swal')) {
        Object.defineProperty(Vue.prototype, '$swal', {
            get: function get() {
                return _swal
            }
        })
    }
}

Vue.use(VueSweetalert2, {})

Spamworldpro Mini