nandorojo / solito

🧍‍♂️ React Native + Next.js, unified.
https://solito.dev
MIT License
3.54k stars 181 forks source link

Next Config for Expo vector icon #117

Closed andthezhang closed 2 years ago

andthezhang commented 2 years ago

Got the following tff error for expo vector icon in next: image

After this fix: Next: image

Expo image

Expo vector icon seems like a common use case as it comes with Expo. Not sure if we should include this in the template or maybe just link this as optional setup in doc?

vercel[bot] commented 2 years ago

Someone is attempting to deploy a commit to a Personal Account owned by @nandorojo on Vercel.

@nandorojo first needs to authorize it.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
solito-app ✅ Ready (Inspect) Visit Preview Jul 27, 2022 at 6:43PM (UTC)
nandorojo commented 2 years ago

i think a better solution would be to add next-fonts as a plug-in

https://docs.expo.dev/guides/using-nextjs/#font-support

nandorojo commented 2 years ago

here is an example setup from Moti: https://moti.fyi/next