On a nativescript vue app, I added a BottomNavigation manually, here a part of the template:
<StackLayout>
<BottomNavigation selectedIndex="0">
<TabStrip>
<TabStripItem>
<Image src="font://" class="far"></Image>
<Label text="Start"></Label>
</TabStripItem>
<TabStripItem>
<Label text="Info"></Label>
</TabStripItem>
</TabStrip>
<TabContentItem>
Instead of showing an icon in the BottomNavigation above the text, there is a text like this: .
If I try to follow the link to the source, it says unable to read file . Do I have to add a path to the fonts?
As I add the BottomNavigation manually, do I have to add something more?
Thanks for your hints. Juergen
You can add a fontawesome font to your fonts folder then use it with a label.
Label text attribute contains Private Use characters click on icon it self, then copy it
You can copy icons by directly clicking on images from https://fontawesome.com/cheatsheet
Click on the icon itself, then copy it.
Nativescript official docs: https://docs.nativescript.org/ui/components/icon-fonts