皮特前端/皮特包自启动

皮特框架的Bootstrap打包

0.1.0 2024-02-25 05:11 UTC

This package is auto-updated.

Last update: 2024-09-25 06:49:24 UTC


README

皮特框架的Bootstrap打包

关于

此项目打包Bootstrap和Bootstrap Icons,以便与皮特框架一起使用。

有关Bootstrap的信息,请访问Bootstrap网站:https://bootstrap.ac.cn/,以及他们的GitHub存储库:https://github.com/twbs/bootstrap。有关Bootstrap Icons的信息,请访问https://icons.bootstrap.ac.cn/以及GitHub上的存储库:https://github.com/twbs/icons

有关皮特的信息,请访问皮特网站:https://pith-framework.org/

安装

安装到现有的皮特框架项目中

使用Composer将打包安装到vendor文件夹。

php composer.phar require pith-front/pith-pack-bootstrap

向您的路由列表添加新路由

public array $routes = [
    // Other routes....
    // ...
    
    // Add route to call Bootstrap resources from
    ['route', 'GET', '/resources/vendor/library/bootstrap/{filepath:.+}', '\\PithFront\\PithPackBootstrap\\BootstrapResourceRoute'],
];

许可信息

Bootstrap

Bootstrap

pith-pack-bootstrap