Module Ionic error 2

Asked

Viewed 156 times

1

When I create a page the module is not being recognized, for example user page and signup in my case are not being recognized, how to solve? follows the attached image inserir a descrição da imagem aqui

  • How are the codes? How is the file userpage.ts? In the import your class name is correct? You defined as Userpage when it should be UserPage.

  • I think the problem is in import. You’re calling ..pages/ and the directories shown in the image and in the image itself import of HomePage should be ../pages/ and not ..pages/.

1 answer

0

Voce needs to create pages through the command inside the folder of your project.

open cmd, point to the folder and type the command ionic generate page [nome]

Browser other questions tagged

You are not signed in. Login or sign up in order to post.