You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys! Pretty cool stuff you built there! I like :-)
Unfortunately I am facing problems when I want to develop and import several projects and got this error: bundle() requires a decorated NgModule as its first argument.
For example I have a project my-shared-app with a ListComponent. I want to use this ListComponent in my project my-main-app.
my-main-app -> my-shared-app
For local development I use npm link to link the repos, but for example purpose I created those repos:
Well I don't see anything wrong in the first place.
But the import of my-shared-app doesn't fell good for me. This kind of imports is handled very differently through different module loaders and module systems. It's always better to really import something for this module and execute than to depend on execution by import.
Hey guys! Pretty cool stuff you built there! I like :-)
Unfortunately I am facing problems when I want to develop and import several projects and got this error:
bundle() requires a decorated NgModule as its first argument
.For example I have a project
my-shared-app
with aListComponent
. I want to use thisListComponent
in my projectmy-main-app
.my-main-app
->my-shared-app
For local development I use npm link to link the repos, but for example purpose I created those repos:
In
my-main-app
I adjusted following filesvendor.js
app.module.ts
app.component.js
Do you see, what I'm doing wrong? Any suggestions?
Thx for help! :-)
The text was updated successfully, but these errors were encountered: