From 91951d76f68a46747035ae386e846ee0f9fb5074 Mon Sep 17 00:00:00 2001 From: dennisahlin Date: Wed, 1 Oct 2014 15:47:13 +0200 Subject: [PATCH] Add bower instructions --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5da76fd..460db3f 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,15 @@ This repository holds the following plug-in types for DataTables: * Integration scripts * Twitter Bootstrap -Each directory has an index.html file which is used to generate the plug-ins documentation on [DataTables.net](http://datatables.net/plug-ins) and describes how plug-ins can be used. \ No newline at end of file +Each directory has an index.html file which is used to generate the plug-ins documentation on [DataTables.net](http://datatables.net/plug-ins) and describes how plug-ins can be used. + +## Bower +To select which plugins to use, override the main section in your bower.json file with the files you need. Eg. +`"overrides": {` +`"datatables-plugins": {` +`"main": [` + `"./integration/bootstrap/3/dataTables.bootstrap.js",` + `"./integration/bootstrap/3/dataTables.bootstrap.css"` + `]` +`}` +`}`