How to use UI Exports hacks option in Kibana 6.1


(Shahrukh Khan) #1

Following is my index.js and when I use hacks all the tabs on sidebar show blank white screen. Please help!

   export default function (kibana) {

      return new kibana.Plugin({
        uiExports: {
          app: {
            title: 'webinar_app',
            description: 'webinar_app demo',
            main: 'plugins/webinar_app/webinar_app',
            uses: [
              'visTypes',
              'visResponseHandlers',
              'visRequestHandlers',
              'visEditorTypes',
              'savedObjectTypes',
              'spyModes',
              'fieldFormats',
            ],
            injectVars: (server) => {
              return server.plugins.kibana.injectVars(server);
            }
          },
          hacks: [
            'plugins/webinar_app/webinar_app'
          ]
        }
      });
    }

(Shahrukh Khan) #2

I just figured it out, there was a conflict going on that prevented my app to run successfully!


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.