3
ionic g page topic

This command gives following error

[ERROR] Cannot perform generate for React projects.

Since you're using the React project type, this command won't work. The Ionic CLI doesn't know how to generate framework components for React projects.

Govinda P
  • 3,261
  • 5
  • 22
  • 43

1 Answers1

2

The error message is pretty clear, the Ionic cli doesn't support generating new pages for a project that uses React. That means you'll have to create the files manually.

nll_ptr
  • 864
  • 8
  • 11