Unable to import static file (images) when using tamagui@latest #2461
Closed
akinwale-habibullah
started this conversation in
General
Replies: 2 comments 3 replies
-
Migrated to discussion, this is something you have to set up right and we don't have docs yet, if you want to help document and figure out a good pattern that'd be useful. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I resolved the issue by;
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current Behavior
On creating a new tamagui starter app using npm create tamagui@latest, which is currently 1.92.0, and selecting the
Free - Expo + Next in a production ready monorepo
.I created an
assets
folder in the packages/app folder and drop some images there.Currently, if I import the file like this:
I get this error:
Expected Behavior
I dont expect any error. I expect to be able to use this image in an Image tag's source prop
Tamagui Version
Platform (Web, iOS, Android)
Reproduction
System Info
Beta Was this translation helpful? Give feedback.
All reactions