Loading Makefiledeleted 100755 → 0 +0 −9 Original line number Diff line number Diff line .PHONY: check check: - composer validate --no-check-all --strict - security-checker security:check composer.lock - prettier --write *.yml - prettier --write templates/patterns/*/*.yml - prettier --write css/*.css - twig-lint lint templates/ README.md +11 −6 Original line number Diff line number Diff line Loading @@ -57,11 +57,17 @@ You can browse the example pages directly inside Drupal: /examples # Installation ## Manually ``` $ composer require 'drupal/ui_suite_bootstrap:4.x' ``` You need to place the Bootstrap library in the `libraries` folder. ## Manual installation By default, the theme use https://www.bootstrapcdn.com/ If you prefer a local instalaltion, you need to override the libraries and place the Bootstrap library in the `libraries` folder: ## With Composer ```json { Loading Loading @@ -89,7 +95,7 @@ You need to place the Bootstrap library in the `libraries` folder. }, "extra": { "installer-paths": { "app/libraries/{$name}": [ "web/libraries/{$name}": [ "type:drupal-library" ] } Loading @@ -97,9 +103,8 @@ You need to place the Bootstrap library in the `libraries` folder. } ``` ### Asset Packagist If you are using the website [Asset Packagist](https://asset-packagist.org), the If you are using [Asset Packagist](https://asset-packagist.org), the composer.json can be like: ```json Loading ui_suite_bootstrap.info.yml +0 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,5 @@ dependencies: - ui_patterns:ui_patterns_library - ui_patterns_settings:ui_patterns_settings - ui_styles:ui_styles libraries: - ui_suite_bootstrap/bootstrap ui_suite_bootstrap.libraries.yml +6 −2 Original line number Diff line number Diff line Loading @@ -4,10 +4,14 @@ bootstrap: name: MIT gpl-compatible: false js: /libraries/bootstrap/dist/js/bootstrap.min.js: { minified: true } https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.min.js: minified: true type: external css: theme: /libraries/bootstrap/dist/css/bootstrap.min.css: { minified: true } https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css: minified: true type: external dependencies: - core/jquery Loading Loading
Makefiledeleted 100755 → 0 +0 −9 Original line number Diff line number Diff line .PHONY: check check: - composer validate --no-check-all --strict - security-checker security:check composer.lock - prettier --write *.yml - prettier --write templates/patterns/*/*.yml - prettier --write css/*.css - twig-lint lint templates/
README.md +11 −6 Original line number Diff line number Diff line Loading @@ -57,11 +57,17 @@ You can browse the example pages directly inside Drupal: /examples # Installation ## Manually ``` $ composer require 'drupal/ui_suite_bootstrap:4.x' ``` You need to place the Bootstrap library in the `libraries` folder. ## Manual installation By default, the theme use https://www.bootstrapcdn.com/ If you prefer a local instalaltion, you need to override the libraries and place the Bootstrap library in the `libraries` folder: ## With Composer ```json { Loading Loading @@ -89,7 +95,7 @@ You need to place the Bootstrap library in the `libraries` folder. }, "extra": { "installer-paths": { "app/libraries/{$name}": [ "web/libraries/{$name}": [ "type:drupal-library" ] } Loading @@ -97,9 +103,8 @@ You need to place the Bootstrap library in the `libraries` folder. } ``` ### Asset Packagist If you are using the website [Asset Packagist](https://asset-packagist.org), the If you are using [Asset Packagist](https://asset-packagist.org), the composer.json can be like: ```json Loading
ui_suite_bootstrap.info.yml +0 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,5 @@ dependencies: - ui_patterns:ui_patterns_library - ui_patterns_settings:ui_patterns_settings - ui_styles:ui_styles libraries: - ui_suite_bootstrap/bootstrap
ui_suite_bootstrap.libraries.yml +6 −2 Original line number Diff line number Diff line Loading @@ -4,10 +4,14 @@ bootstrap: name: MIT gpl-compatible: false js: /libraries/bootstrap/dist/js/bootstrap.min.js: { minified: true } https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.min.js: minified: true type: external css: theme: /libraries/bootstrap/dist/css/bootstrap.min.css: { minified: true } https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css: minified: true type: external dependencies: - core/jquery Loading