我有以下目录结构
我想创建一个新页面,比如说,一个关于页面.
我想把它放在src / app / page / about / *
所以我尝试:
ng generate component pages/about
但我得到这个错误:
Error: More than one module matches. Use skip-import option to skip importing the component into the closest module. More than one module matches. Use skip-import option to skip importing the component into the closest module.
使用页面存储我的单独页面是一个好主意吗?
如何使用angular-cli在子目录中生成组件?