jield-webdev/laminas-bootstrap5

Laminas 模块,提供 Bootstrap 5 的辅助函数

dev-main 2023-11-18 13:08 UTC

This package is auto-updated.

Last update: 2024-09-04 10:19:33 UTC


README

在 Laminas 框架中使用 Bootstrap 5 代码的存储库(基于 zfc-twitter-bootstrap)

安装

在您的项目公共文件夹中创建可写目录 assets(例如 public/assets)。

## Forced injection of Bootstrap JS, Jquery and Jquery UI

This module default injects the latest versions of Bootstrap JS (including Popper), Jquery and JqueryUI as these
libraries are required for the JS in this module.
If for some reason you want to use your own versions of these libraries, you can disable the injection of these
libraries by setting the following config in your application config:

```php
return [
    'laminas-bootstrap5'         => [
        'inject_jquery'    => false,
        'inject_jquery_ui' => false,
        'inject_bootstrap_js' => false,
    ],
];