Answers for "skip import angular 6"

4

skip import angular 6

ng g component component-name --skip-import
Posted by: Guest on June-02-2020
1

More than one module matches

Specify the module using the --module parameter. 
For example, if the main module is app.module.ts, run this:

ng g c new-component --module app
Or if you are in an other directory then

ng g c component-name --module ../
Posted by: Guest on April-02-2020
0

More than one module matches. Use skip-import option to skip importing the component into the closest module. into the closest module.

ng g c new-component --module app
//Or if you are in an other directory then
ng g c component-name --module ../
Posted by: Guest on April-05-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language