-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
lili2311/storybook
#166Description
Issue details
Adding a nested angular component which one component depends on other where those other are in different modules. If I just use the tutorial angular examples, didn't work.
Steps to reproduce
Adding a nested angular component which one component depends on other where those other are in different modules. If I just use the tutorial angular examples, didn't work.
The same error can be seen in spec test in angular. And is fixed adding in declarations the component or adding into imports the module where the nested component exist ( the second solution only works if the nested component is declared in exports ngModule ).
Please specify which version of Storybook and optionally any affected addons that you're running
- @storybook/angular 1.5.x
Affected platforms
- If UI related, please indicate browser, OS, and version
- If dependency related, please include relevant version numbers
- If developer tooling related, please include the platform information
Screenshots / Screencast / Code Snippets (Optional)
// code here