Robert Fellows created NIFI-6249:
------------------------------------

             Summary: UI - Provide nifi-fds es6 modules that require no 
aliasing of nifi-fds directory structure.
                 Key: NIFI-6249
                 URL: https://issues.apache.org/jira/browse/NIFI-6249
             Project: Apache NiFi
          Issue Type: Improvement
          Components: FDS
            Reporter: Robert Fellows
            Assignee: Robert Fellows


nifi-fds uses aliases in some/many import/require statements that force 
consumers of the package to also alias them. This adds a complexity to the 
configuration that could be mitigated for ES6 consumers. The ideal solution 
would allow consuming apps to install @nifi-fds/core and then import it's 
modules without needing to know anything internally to how nifi-fds is 
structured.

Examples might look something like this...
{noformat}
import { FdsCoreModule } from '@nifi-fds/core'

// or

import { FdsDialogService, FdsSnackBarService, FdsCoasterComponent } from 
'@nifi-fds/core'
{noformat}

Also, update the README to reflect updates.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to