You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ionic g page command is not registering the page component in app.module.ts file. Ideally it should include and register the component in the declarations array.
Angular-cli does registers components when scaffold.
What behavior are you expecting?
i would expect ionic cli to register page component in the declarations array of @NgModule decorator and also in entry points array if possible in the file app.module.ts
Steps to reproduce:
run below command
ionic generate page page_name
and check the behaviour in app.module.ts
Post the output of ionic info below please
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v7.1.0
Xcode version: Not installed
The text was updated successfully, but these errors were encountered:
Short description of the problem:
ionic g page command is not registering the page component in app.module.ts file. Ideally it should include and register the component in the declarations array.
Angular-cli does registers components when scaffold.
What behavior are you expecting?
i would expect ionic cli to register page component in the declarations array of @NgModule decorator and also in entry points array if possible in the file app.module.ts
Steps to reproduce:
ionic generate page page_name
and check the behaviour in app.module.ts
Post the output of
ionic info
below pleaseIonic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v7.1.0
Xcode version: Not installed
The text was updated successfully, but these errors were encountered: