bimthebam / silverstripe-theme-bs4base
适用于 SilverStripe 的 Bootstrap 4.x 基础主题
1.0.3
2019-03-23 17:24 UTC
Requires
This package is auto-updated.
Last update: 2024-09-11 19:04:38 UTC
README
无自定义样式(除主和子导航外)- 只使用原生 Bootstrap 标记和 CSS。
第三方内容
- Bootstrap v4.3.1
- jQuery v3.3.1 作为 Bootstrap 的直接需求
安装
使用 Composer
composer require bimthebam/silverstripe-theme-bs4base ~1.0.0
手动
下载最新版本,并将解压缩后的内容复制到 themes/
目录中。
使用方法
要使用此主题,只需在您的 app/_config/theme.yml
中激活它
SilverStripe\View\SSViewer: themes: - 'silverstripe-theme-bs4base' - '$default'
由于支持 级联主题 和使用包含(<% include ... %>
),您可以将此主题作为项目的基础主题安全使用,并轻松地从自定义主题中覆盖模板和 CSS。
开发需求
-
一个 Sass 编译器。
我的个人推荐是 SassC。