PROGRAMMING/TYPESCRIPT(Angular,Ionic)
[Ionic4, Angular] 기존 프로젝트에 component 추가하기
2019. 10. 23. 17:35
새 컴포넌트를 추가 해야 할 때현재 환경 : Windows 10 / Ionic 4 / Angular(typescript) 기본 component 추가 명령 ../project_dir> ng generate component 컴포넌트이름 발견 가능한 오류 More than one module matches. Use skip-import option to skip importing the component into the closest module. app.module.ts에 component 자동 추가(import) ../project_dir> ng generate component 컴포넌트이름 --module=app.moduleapp.module.ts 의 @NgModule에 import, declarat..