Angular2 - Could not find an NgModule

前端 未结 6 1367
难免孤独
难免孤独 2020-12-07 05:44

Hello I\'ve just created a new project from the CLI using the simple

ng new frontend

command however once I go into my project to:

6条回答
  •  孤城傲影
    2020-12-07 06:18

    you should run this command 'ng g c component-name' inside is app folder.

    1) cd src/app 2) ng g c component name

提交回复
热议问题