I'm having trouble getting a basic component to work. Have followed a nunber of tuorials with no luck.
Started by generating a component with "ionic g component testcomp"
Added the import to my app.module.ts, and the module name "Testcomp" to the declaration.
Added the component to my home page html
get error:
Error: Uncaught (in promise): Error: Template parse errors:
'testcomp' is not a known element:
I notice that the generator gives me a module file with IonicPageModule in it, no tutorial mentions that.
Any ideas?
versions:
Ionic Framework: 3.1.1
Ionic App Scripts: 1.3.7
Angular Core: 4.0.2
Angular Compiler CLI: 4.0.2
Node: 7.7.3
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36