Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48989

Tags from Ionic 5 docs not working

$
0
0

I have installed the latest version of Ionic Angular with:
npm install -g @ionic/cli

ionic -v shows me 6.9.2

I’ve created a new app using the super starter app, using --type=ionic-angular

I am finding that the tags in the Ionic 5 docs are not working and I have to move back to Ionic 3 tags.

For example:
Ionic 5 tags - Do not work, stay as fixed labels

<ion-item>
  <ion-label position="floating">Floating Label</ion-label>
  <ion-input></ion-input>
</ion-item>

Ionic 3 tags - Working as expected

<ion-item>
    <ion-label floating>Username</ion-label>
    <ion-input type="text"></ion-input>
  </ion-item>

Also, getting some errors like: ion-text is not a known element in code from the Ionic 5 docs.

What am I doing wrong?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>