weprovide/magento2-module-twitterbootstrap-js

This package is abandoned and no longer maintained. No replacement package was suggested.

Add Twitter Bootstrap javascript from CDN as a require.js module shim. With fallback to local version.

Installs: 111

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 3

Open Issues: 0

Language:JavaScript

Type:magento2-module

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

Add Twitter Bootstrap javascript from CDN as a require.js module shim. With fallback to local version when CDN is offline.

Installation

  1. composer require weprovide/magento2-module-twitterbootstrap-js
    will install the latest version. If you want a specific Twitter Bootstrap version you can use this:
    composer require timneutkens/magento2-module-twitterbootstrap-js:<version here>

  2. Run bin/magento setup:upgrade

  3. Run bin/magento setup:static-content:deploy

Available versions

  • 3.3.7

Usage

For usage examples see the Twitter Bootstrap website

require(['jquery', 'jquery.bootstrap'], function ($) {
  $('.element').carousel()
});