mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-06-30 18:03:11 +03:00
Update download
Removes places where the project is not available. Plus update the npm install process.
This commit is contained in:
parent
74bbccf97f
commit
3ad467e1d8
|
@ -50,19 +50,20 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo
|
||||||
|
|
||||||
### npm
|
### npm
|
||||||
|
|
||||||
Install Bootstrap in your Node.js powered apps with [the npm package](https://www.npmjs.com/package/bootstrap):
|
Install Bootstrap in your Node.js powered apps with [the npm package](https://www.npmjs.com/package/bootstrap-material-design):
|
||||||
|
|
||||||
{% highlight sh %}
|
{% highlight sh %}
|
||||||
npm install bootstrap
|
npm install bootstrap-material-design@{{ site.current_version }}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
`require('bootstrap')` will load all of Bootstrap's jQuery plugins onto the jQuery object. The `bootstrap` module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the `/js/*.js` files under the package's top-level directory.
|
`require('bootstrap-material-design')` will load all of Bootstrap Material Design's jQuery plugins onto the jQuery object. The `bootstrap-material-design` module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the `/js/*.js` files under the package's top-level directory.
|
||||||
|
|
||||||
Bootstrap's `package.json` contains some additional metadata under the following keys:
|
Bootstrap Material Design's `package.json` contains some additional metadata under the following keys:
|
||||||
|
|
||||||
- `sass` - path to Bootstrap's main [Sass](http://sass-lang.com/) source file
|
- `sass` - path to Bootstrap Material Design's main [Sass](http://sass-lang.com/) source file
|
||||||
- `style` - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization)
|
- `style` - path to Bootstrap Material Design's non-minified CSS that's been precompiled using the default settings (no customization)
|
||||||
|
|
||||||
|
---
|
||||||
### RubyGems
|
### RubyGems
|
||||||
|
|
||||||
Install Bootstrap in your Ruby apps using [Bundler](https://bundler.io/) (**recommended**) and [RubyGems](https://rubygems.org/) by adding the following line to your [`Gemfile`](https://bundler.io/gemfile.html):
|
Install Bootstrap in your Ruby apps using [Bundler](https://bundler.io/) (**recommended**) and [RubyGems](https://rubygems.org/) by adding the following line to your [`Gemfile`](https://bundler.io/gemfile.html):
|
||||||
|
@ -74,11 +75,12 @@ gem 'bootstrap', '~> {{ site.current_ruby_version }}'
|
||||||
Alternatively, if you're not using Bundler, you can install the gem by running this command:
|
Alternatively, if you're not using Bundler, you can install the gem by running this command:
|
||||||
|
|
||||||
{% highlight sh %}
|
{% highlight sh %}
|
||||||
gem install bootstrap -v {{ site.current_ruby_version }}
|
gem install bootstrap -v {{ site.current_version }}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
[See the gem's README](https://github.com/twbs/bootstrap-rubygem/blob/master/README.md) for further details.
|
[See the gem's README](https://github.com/twbs/bootstrap-rubygem/blob/master/README.md) for further details.
|
||||||
|
---
|
||||||
|
---
|
||||||
### Composer
|
### Composer
|
||||||
|
|
||||||
You can also install and manage Bootstrap's Sass and JavaScript using [Composer](https://getcomposer.org/):
|
You can also install and manage Bootstrap's Sass and JavaScript using [Composer](https://getcomposer.org/):
|
||||||
|
@ -86,7 +88,8 @@ You can also install and manage Bootstrap's Sass and JavaScript using [Composer]
|
||||||
{% highlight sh %}
|
{% highlight sh %}
|
||||||
composer require twbs/bootstrap:{{ site.current_version }}
|
composer require twbs/bootstrap:{{ site.current_version }}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
---
|
||||||
|
---
|
||||||
### NuGet
|
### NuGet
|
||||||
|
|
||||||
If you develop in .NET, you can also install and manage Bootstrap's [CSS](https://www.nuget.org/packages/bootstrap/) or [Sass](https://www.nuget.org/packages/bootstrap.sass/) and JavaScript using [NuGet](https://www.nuget.org/):
|
If you develop in .NET, you can also install and manage Bootstrap's [CSS](https://www.nuget.org/packages/bootstrap/) or [Sass](https://www.nuget.org/packages/bootstrap.sass/) and JavaScript using [NuGet](https://www.nuget.org/):
|
||||||
|
@ -98,3 +101,4 @@ Install-Package bootstrap
|
||||||
{% highlight powershell %}
|
{% highlight powershell %}
|
||||||
Install-Package bootstrap.sass
|
Install-Package bootstrap.sass
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
---
|
||||||
|
|
Loading…
Reference in New Issue
Block a user