Closed joelstransky closed 9 months ago
Your extension should load what it needs and not rely on qlik sense to provide it. Any css loaded by the client might change, and specifically leonardo-ui is legacy code and will be removed.
The point of an external Extensions API such as Nebula is that we don't need to rely on the Sense code base to provide certain things, thus removing the need for loading all that code only to display a chart.
While there is some merit to adding external libraries to the serve command, this is not one of them.
🚀 Feature
Add hooks or flags to
nebula serve
so that I can tell it to also include leonardo-ui cssMotivation
Qlik Sense loads leonardo by default so compiling it into my extensions doesn't make sense just to view it in nebula hub.
Additional context
commands/serve/web/index.html