Heads up! In our documentation, all examples show standard CoreUI implementation. If you are using a Bootstrap-compatible version of CoreUI, remember to use the following changes:
new bootstrap.Alert(...) instead of new coreui.Alert(...)close.bs.alert instead of close.coreui.alertdata-bs-toggle="..." instead of data-coreui-toggle="..."