I want to add a new component in asp.net core 2.0 SPAs with angular 4 with angular cli with this version:
@angular/cli: 1.4.2
node: 8.4.0
os: Linux x64
when I running this command ng g c vehicle-form
on a directory of components got this error:
Error: Could not find an NgModule for the new component. Use the skip-import option to skip importing components in NgModule. Could not find an NgModule for the new component. Use the skip-import option to skip importing components in NgModule.
Also, I have 3 files for app.module.ts
not one :\ :
app.module.browser.ts
app.module.shared.ts
app.module.server.ts