定制 nrel/nrel_bootstrap 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nrel/nrel_bootstrap

最新稳定版本:1.0.0

Composer 安装命令:

composer require nrel/nrel_bootstrap

包简介

NREL.gov APP branded theme for Bootstrap 3 and 4

README 文档

README

NREL Bootstrap is a Bootstrap-based theme that implements the NREL Application standard theme - NREL ://github.com/NREL/nrel-app-template-bootstrap4.

NREL Boostrap has a dependency on https://github.com/NREL/nrel-app-template-bootstrap4 to ease the update process when the base theme changes.

Find out more about the standards at https://www.nrel.gov/comm-standards/web/application.html and view the demo at https://www.nrel.gov/comm-standards/web/app-template/index.html.

The Drupal 8 version of the theme is a sub-theme of Bootstrap. This issue tracks the status of a Bootstrap 4 or 5 implementation. Because there is no BS4 or 5 implementatation ready, the Drupal 9 version of NREL Bootstrap uses Bootstrap Barrio as it's base theme.

For Drupal, we prefer developers use the package rather that going directly to github. This is because using the package will guarantee that developers are using a stable version (with version numbers) rather than something that is unstable. In addition the packages will automatically stay up to date for such things as security remediations.

To install the nrel/nrel_bootstrap package:

Drupal 9

@see https://github.com/NREL/nrel_bootstrap/blob/8.x-4.5.3/README.md.

Run the NREL Bootstrap post install commands from the root project to copy the Bootstrap library and the JS, CSS and images used in the NREL Application theme to the correct places for use in NREL Bootstrap.

  • composer require nrel/nrel_bootstrap:dev-8.x-4.5.3
  • composer run-script post-install-cmd -d ./web/themes/contrib/nrel_bootstrap

Drupal 8

@see https://github.com/NREL/nrel_bootstrap/blob/2.0.0/README.md

  • composer require nrel/nrel_bootstrap:~2.0.0-dev

For Drupal 7

@see https://github.com/NREL/nrel_bootstrap/blob/d7/README.md

  • composer require nrel/nrel_bootstrap "dev-d7"

Todo

  • top nav drop-downs

统计信息

  • 总下载量: 4.3k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 8
  • Forks: 7
  • 开发语言: Twig

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2019-03-12