axeldelafosse / expo-next-monorepo-example

Create a universal React app using Expo and Next.js in a monorepo

Home Page:https://expo-next-monorepo-example.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Icons & Images don't work...

Rychillie opened this issue · comments

I spent the weekend testing the repository creating a responsive navigation, but I ran into a problem with Icons and Images.

Trying with Expo Vector Icons and React Native's Image Component. In the Expo mobile application, the icon appears perfectly, however in NextJS when my navigation is rendered, the icon or image does not appear.

I would like to understand what happens and if possible a tip on how I can create an image component to be used in both NextJS and Expo, both for icons in menus and for the rest of the application.

This application I'm making is a study only, I was interested in the repository and would like to see how it can be applied to my workflow.

NextJS Screenshot React Navigation:
NextJS Screenshot

Expo Screenshot React Navigation:
Expo Screenshot

You need to install next-images and next-font