jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

jquery-confirm with webpack

Open TheRatG opened this issue 7 years ago • 4 comments

jquery-confirm version: v3.x.x

I'm submitting a ... (check one with "x") [ ] bug report [ ] feature request [x ] support request

Current behavior: Webpack+jconfirm = defaults does not set

Expected behavior: Webpack+jconfirm = global settings apply

Related code:

jconfirm = require('jquery-confirm');
jconfirm.defaults = {
    ...
}

TheRatG avatar Jan 29 '18 10:01 TheRatG

Any solution for this problem? :(

ychakroun avatar Feb 05 '18 13:02 ychakroun

Our project includes this library behind webpack as all did when computers were big.

<script type="text/javascript" src="{{ asset('js/jquery-confirm.js') }}"></script>

TheRatG avatar Feb 07 '18 15:02 TheRatG

you can use jconfirm.pluginDefaults. globally disable bootstrap by setting jconfirm.pluginDefaults.useBootstrap = false;

williambeto avatar Dec 04 '19 13:12 williambeto

@williambeto did you found a solution to this problem? using webpack I couldn't set global settings...

lucasdoamaral avatar Oct 19 '21 13:10 lucasdoamaral