mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-30 05:24:09 +03:00
Solves #841 - incorrect npm information
This commit is contained in:
parent
cc44f44aac
commit
d0a74f4a44
|
@ -40,9 +40,9 @@ Pull in Material Design for Bootstrap's **source files** into nearly any project
|
||||||
|
|
||||||
Install Material Design for Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.org/package/bootstrap):
|
Install Material Design for Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.org/package/bootstrap):
|
||||||
|
|
||||||
{% highlight bash %}$ npm install bootstrap@{{ site.data.version }}{% endhighlight %}
|
{% highlight bash %}$ npm install bootstrap-material-design@{{ site.data.version }}{% endhighlight %}
|
||||||
|
|
||||||
`require('bootstrap-material-design')` will load all of Material Design for Bootstrap's jQuery plugins onto the jQuery object. The `bootstrap` module itself does not export anything. You can manually load Material Design for 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 Material Design for Bootstrap's jQuery plugins onto the jQuery object.
|
||||||
|
|
||||||
Material Design for Material Design for Bootstrap's `package.json` contains some additional metadata under the following keys:
|
Material Design for Material Design for Bootstrap's `package.json` contains some additional metadata under the following keys:
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"style": "dist/css/bootstrap-material-design.css",
|
"style": "dist/css/bootstrap-material-design.css",
|
||||||
"sass": "scss/bootstrap-material-design.scss",
|
"sass": "scss/_core.scss",
|
||||||
"main": "dist/js/bootstrap-material-design.umd.js",
|
"main": "dist/js/bootstrap-material-design.umd.js",
|
||||||
"jsnext:main": "dist/bootstrap-material-design.es2015.js",
|
"jsnext:main": "dist/bootstrap-material-design.es2015.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user