Adding custom dependencies to Kibana for use across the dashboard?


(Alex Holden) #1

Basically I want to add several other UI and visualization libraries on top of ui-bootstrap so that several apps I'm building as plugins can have access to the directives within, as (in theory) can the dashboard, discover and visualise apps.

I've installed the dependencies, required them (defining in require.config.js) and added as a dependency in the kibana app:

  require('modules')
  .get('kibana', ['ui.bootstrap', 'ngMaterial'])
  .config(function ($tooltipProvider) {

But I've been sent down a dependency rabbit hole of various things breaking, version conflicts etc and even after solving those, directives aren't rendering.

TL;DR: Has anyone managed to add Kibana wide javascript dependencies successfully, or is doing so documented anywhere?

Thanks for any suggestions!


Bootstrap conflict
(whoami) #2

have you solve this problem?


(system) #3