directus-extension-sweetalert-bundle
v0.2.1
Published
Simple way to show a SweetAlert
Downloads
9
Maintainers
Readme
SweetAlert
Simple way to show a SweetAlert.
Usage
- Install the extension using a package manager or from the Marketplace:
npm install directus-extension-sweetalert-bundle
- Add this to your
.env
file to allow CSP.
CONTENT_SECURITY_POLICY_DIRECTIVES__SCRIPT_SRC="'self','unsafe-eval','unsafe-inline',https://cdn.jsdelivr.net"
Configuration
[!NOTE] For more information, please refer to SweetAlert2 documentation.