AdminLTE/plugins/sweetalert2-theme-bootstrap-4
REJack 0381231b23
updated sweetalert2 & added sweetalert2-theme-bootstrap-4
2019-08-20 10:54:48 +02:00
..
README.md updated sweetalert2 & added sweetalert2-theme-bootstrap-4 2019-08-20 10:54:48 +02:00
bootstrap-4.css updated sweetalert2 & added sweetalert2-theme-bootstrap-4 2019-08-20 10:54:48 +02:00
bootstrap-4.min.css updated sweetalert2 & added sweetalert2-theme-bootstrap-4 2019-08-20 10:54:48 +02:00
bootstrap-4.scss updated sweetalert2 & added sweetalert2-theme-bootstrap-4 2019-08-20 10:54:48 +02:00
package.json updated sweetalert2 & added sweetalert2-theme-bootstrap-4 2019-08-20 10:54:48 +02:00

README.md

@sweetalert2/theme-bootstrap-4 - Bootstrap 4 Theme for SweetAlert2

npm version

Installation

npm install --save sweetalert2 @sweetalert2/theme-bootstrap-4

Usage

With CSS:

<!-- Include the Bootstrap 4 theme -->
<link rel="stylesheet" href="@sweetalert2/theme-bootstrap-4/bootstrap-4.css">

<script src="sweetalert2/dist/sweetalert2.min.js"></script>

With SASS:

your-app.js:

import Swal from 'sweetalert2/src/sweetalert2.js'

your-app.scss:

@import '~@sweetalert2/theme-bootstrap-4/bootstrap-4.scss';