sebastian13 / magento2-module-bootstrap
Adds Bootstrap library from CDN.
Installs: 658
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 3
Language:JavaScript
Type:magento2-module
README
Add Twitter Bootstrap library's javascript bundle and CSS from CDN. There's also a fallback when CDN is offline.
Installation
- Composer:
composer require sebastian13/magento2-module-bootstrap "4.3.1.*" --no-update
composer update
- Setup Magento
php bin/magento module:enable Sebastian13_Bootstrap php bin/magento setup:upgrade php bin/magento setup:static-content:deploy
Usage
Put this snippet into a Magento Theme in Magento_Theme/template/html/header.phtml
<script type="text/javascript"> require(['jquery.bootstrap']); </script>