added popperjs because bootstrap5 requires it

This commit is contained in:
Werner Masik
2023-05-23 17:03:13 +02:00
parent 24bf2f95a2
commit 5f198114f7
3 changed files with 26 additions and 1 deletions
+5 -1
View File
@@ -60,7 +60,11 @@
if ($bootstrap3 === true) generateJSsInclude('vendor/twbs/bootstrap3/dist/js/bootstrap.min.js');
// Bootstrap 5 JS
if ($bootstrap5 === true) generateJSsInclude('vendor/twbs/bootstrap5/dist/js/bootstrap.min.js');
if ($bootstrap5 === true)
{
generateJSsInclude('vendor/popperjs/popperjs2/core@2');
generateJSsInclude('vendor/twbs/bootstrap5/dist/js/bootstrap.min.js');
}
// Moment JS
if ($momentjs2 === true)