Open ArtemRomanovsky opened 4 years ago
I'm submitting a ... (check one with "x")
Current behavior:
Just stuck on WindowComponent Context, I am not able to get the context data to another component. Using
@Inject(NB_WINDOW_CONTEXT) context
returns error of Module not found: Error: Can't resolve '@nebular/theme/components/window/window.options' Expected behavior:
Steps to reproduce:
Related code:
insert short code snippets here
npm, node, OS, Browser
<!-- Node, npm: `node --version` and `npm --version` OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?) Browser: Chrome/Safari/Firefox/etc? -->
Angular, Nebular
<!-- Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder. -->
any update on this matter?
@ongkristopher Try to change import to import { NB_WINDOW_CONTEXT } from '@nebular/theme'; instead of deep import from @nebular/theme/components/window/window.options
import { NB_WINDOW_CONTEXT } from '@nebular/theme';
@nebular/theme/components/window/window.options
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
Just stuck on WindowComponent Context, I am not able to get the context data to another component. Using
@Inject(NB_WINDOW_CONTEXT) context
returns error of Module not found: Error: Can't resolve '@nebular/theme/components/window/window.options' Expected behavior:
Steps to reproduce:
Related code:
Other information:
npm, node, OS, Browser
Angular, Nebular