rreganjr / chichi-ng

component library for angular
MIT License
0 stars 0 forks source link

error NG3001: Unsupported private class BypassPanelComponent #30

Closed rreganjr closed 2 years ago

rreganjr commented 2 years ago

error NG3001: Unsupported private class BypassPanelComponent. This class is visible to consumers via ChichiNgModule -> BypassPanelComponent, but is not exported from the top-level library entrypoint.

see https://stackoverflow.com/questions/60121962/this-class-is-visible-to-consumers-via-somemodule-somecomponent-but-is-not-e

rreganjr commented 2 years ago

In the add-demo branch

I needed to export the components in the public-api.ts

export * from './lib/chichi-ng.component';
export * from './lib/bypass-panel/bypass-panel.component';
export * from './lib/turning-globe/turning-globe.component';
export * from './lib/visual-scheduler/visual-scheduler.component';

and added the components ChichiNgComponent, BypassPanelComponent, TurningGlobeComponent, VisualSchedulerComponent to @NgModule exports in chichi-ng.module.ts