qlik-oss / nebula.js

Product and framework agnostic integration APIs for Qlik's Associative Engine
https://qlik.dev/extend/set-up-nebula-environment/
MIT License
78 stars 56 forks source link

Export Nebula projects as Qlik-hostable web apps #702

Closed ericbuess closed 2 years ago

ericbuess commented 2 years ago

šŸš€ Feature

Can there be a way, possibly using new flags in a CLI tool like "sense," to export a Nebula-generated web app as a Qlik extension that can be imported to the QSE's QMC and hosted as a web app by Qlik's web server? Preferably with a flag, maybe similar to "supernova: true," possibly just "type: web-app" (as opposed to "type: mashup"), that tells Qlik not to load all of the standard require.js files it typically pulls in for the Capability APIs?

Motivation

Many Qlik Sense Enterprise customers currently host their mashups as extensions via the Qlik web server and want to migrate away from the Capability APIs with their slow load times. They often don't want to invest the time and resources to build and maintain web servers to use Nebula, so allowing them to host Nebula-generated web apps the same way as traditional Qlik mashups would reduce the friction for migrating Nebula.

Additional context

Currently, QSE-hosted mashups require mashup projects to have a file structure Nebula's sense CLI doesn't export, e.g., a .html file. Qlik also loads all the require.js files when hosting a mashup which would be unnecessary for Nebula.js web apps. Having the Qlik web server check for a flag created during the Nebula web app build and then not import the require.js files would significantly speed up load times.

Caele commented 2 years ago

This is out of scope of the Nebula project, but feel free to bring this up elsewhere.