Add page ionic react

I am starting a new project with react.
How to add pages?
ionic g page no longer works.

Thank you in advance.

A page is just a file with a React component, easy enough to create it manually.

If you want to save on typing and are using Visual Studio Code I suggest installing the Ionic Snippets extension and use the ir-page-component snippet.

thank you that works.
I’m new to react so I’m learning