'ion-anchor' is not a known element:

#1

I’m using Ionic 4.

I have defined an anchor tag like

<ion-anchor href="/forgot" routerDirection="forward">
    Forgot Password?
</ion-anchor>

But this is giving an error

'ion-anchor' is not a known element:

The documentation describes it

#2

I also have same issue. Is there anyone lucky!

#3

Same issue here.

'ion-anchor' is not a known element
#4

I want to call a function from an anchor rather than a button and assumed this was the place/method to do that. Is there another/better way?

Example:

<p>
Option 1: <ion-anchor href="myFunction()">Clear Data</ion-anchor>
</p>