# Installing Third-Party Plugins

Importing third-party plugins:

For all starter kits except meteor, import third-party plugins in the src/plugins.js file. For example, if you install d3.js from bower, the import would look something like this (in case of any confusion refer to the demo projects rubix/demo/src/plugins.js file:


import 'bower_components/d3/d3.js';

For Meteor, you must import your plugins in imports/plugins.js file.


Optional plugins that ship with Demo project:

jQuery:

Available in public/js/jquery.js.


D3.JS:

Add this line to "dependencies" section in the bower.json file:

"d3": "3.5.17"

and then run:

$ bower install

Rubix:

Available in public/js/rubix.js.


Datatables:

Add this line to "dependencies" section in the bower.json file:

"datatables": "^1.10.12"

Datatables Responsive:

Available in js/vendor/datatables/responsive.js.


Prism:

Available in public/js/vendor/prism/prism.js.


Select2:

Available in public/js/vendor/select2/select2.js.


Timeline:

Available in public/js/vendor/timeline/timeline.js.


FullCalendar:

Available in public/js/vendor/fullcalendar/fullcalendar.js.


Ion rangeSlider:

Available in public/js/vendor/ion.rangeSlider/ion.rangeSlider.js.


Vex:

Add this line to "dependencies" section in the bower.json file:

"vex": "2.3.4"

and then run:

$ bower install

Sparklines:

Add this line to "dependencies" section in the bower.json file:

"kapusta-jquery.sparkline": "^2.1.3"

and then run:

$ bower install

ChartJS:

Add this line to "dependencies" section in the bower.json file:

"Chart.js": "chartjs#~1.0.2"

and then run:

$ bower install

Moment:

Add this line to "dependencies" section in the bower.json file:

"moment": "^2.14.1"

and then run:

$ bower install

Switchery:

Add this line to "dependencies" section in the bower.json file:

"switchery": "^0.8.1"

and then run:

$ bower install

Bootstrap Datetimepicker:

Add this line to "dependencies" section in the bower.json file:

"eonasdan-bootstrap-datetimepicker": "^4.17.37"

and then run:

$ bower install

GMaps:

Add this line to "dependencies" section in the bower.json file:

"gmaps": "0.4.22"

and then run:

$ bower install

GMaps:

Add this line to "dependencies" section in the bower.json file:

"trumbowyg": "^2.1.0"

and then run:

$ bower install

Blueimp Gallery:

Add this line to "dependencies" section in the bower.json file:

"blueimp-gallery": "^2.21.3"

and then run:

$ bower install

Leaflet:

Add this line to "dependencies" section in the bower.json file:

"leaflet": "^0.7.7"

and then run:

$ bower install

C3JS:

Add this line to "dependencies" section in the bower.json file:

"c3": "^0.4.11"

and then run:

$ bower install

Raphael:

Add this line to "dependencies" section in the bower.json file:

"raphael": "^2.2.1"

and then run:

$ bower install

MorrisJS:

Add this line to "dependencies" section in the bower.json file:

"morris.js": "morrisjs#^0.5.1"

and then run:

$ bower install

Codemirror:

Add this line to "dependencies" section in the bower.json file:

"codemirror": "^5.16.0"

and then run:

$ bower install

Bootstrap Slider:

Add this line to "dependencies" section in the bower.json file:

"seiyria-bootstrap-slider": "^9.1.1"

and then run:

$ bower install

jQuery Knob:

Add this line to "dependencies" section in the bower.json file:

"jquery-knob": "^1.2.13"

and then run:

$ bower install

Messenger:

Add this line to "dependencies" section in the bower.json file:

"messenger": "^1.5.0"

and then run:

$ bower install

X-Editable:

Add this line to "dependencies" section in the bower.json file:

"x-editable": "^1.5.1"

and then run:

$ bower install

Typeahead.JS:

Add this line to "dependencies" section in the bower.json file:

"typeahead.js": "^0.11.1"

and then run:

$ bower install

Bootstrap SASS:

Add this line to "dependencies" section in the bower.json file:

"bootstrap-sass": "^3.3.6"

and then run:

$ bower install

jQuery Steps:

Add this line to "dependencies" section in the bower.json file:

"jquery.steps": "^1.1.0"

and then run:

$ bower install

jQuery Validation:

Add this line to "dependencies" section in the bower.json file:

"jquery-validation": "^1.15.0"

and then run:

$ bower install

Filament Tablesaw:

Add this line to "dependencies" section in the bower.json file:

"filament-tablesaw": "^2.0.3"

and then run:

$ bower install

jQuery UI:

Add this line to "dependencies" section in the bower.json file:

"jquery-ui": "^1.12.0"

and then run:

$ bower install

Dropzone:

Add this line to "dependencies" section in the bower.json file:

"dropzone": "^4.3.0"

and then run:

$ bower install