Nav-view not displaying contents

Hi there, I can’t seem to get the nav-view working and I can’t for the life of me figure out why since I’ve had a look at this person’s use of nav-view http://plnkr.co/edit/gI6GoXcXUvDN1SQrYKsl?p=preview and mine is pretty much the same. Any ideas?

Here is the codepen to it:

And i’m using separate HTML files for welcome and test. I’ve put welcome into the CSS section of the code pen.
I have tried with and without the script tags as well but no luck.

Thank you in advance.

Here you go.

What was happening is that you were using an older syntax, nav-view when instead you should have used ion-nav-view and view instead of using ion-view

Ah I can’t believe it was so simple. Been ready to kill someone for the last couple hours.

Thanks for the quick response.

1 Like