weprovide / magento2-module-twitterbootstrap-js
此包已被废弃,不再维护。未建议替代包。
将Twitter Bootstrapjavascript从CDN作为require.js模块模拟器添加。CDN离线时回退到本地版本。
3.3.10
2018-04-18 16:53 UTC
This package is not auto-updated.
Last update: 2024-05-28 09:41:21 UTC
README
将Twitter Bootstrapjavascript从CDN作为require.js模块模拟器添加。CDN离线时回退到本地版本。
安装
-
composer require weprovide/magento2-module-twitterbootstrap-js
将安装最新版本。如果您想要特定的Twitter Bootstrap版本,可以使用以下命令
composer require timneutkens/magento2-module-twitterbootstrap-js:<version here>
-
运行
bin/magento setup:upgrade
-
运行
bin/magento setup:static-content:deploy
可用版本
- 3.3.7
用法
有关用法示例,请参阅Twitter Bootstrap网站
require(['jquery', 'jquery.bootstrap'], function ($) { $('.element').carousel() });