Install dependencies, clear plugin cache, redeploy and restart
You have to use bower-installer
in order no to package all the modules in your plugin, but only the mandatory files:
npm install -g bower-installer
Then all the necessary files will be in public/deps
.
In the kibana-slider-plugin
, run :
bower-installer
Then, to test it, you can copy all the directory directly into the plugins directory of Kibana :
cd <KIBANA_DIRECTORY>
rm -rf ./optimize/*
cp -R kibana-slider-plugin ./plugins/
Then restart Kibana :
bin/kibana
To make a release package, just run the build.sh
script :
./build.sh
- Open Firebug
- Select HTML
- Enter
angular.element($0).scope()
in console