_I am..._
Carlos Santiago
| Reporting a bug or issue
Expected behavior:
Load local image from an Assets folder
Observed behavior:
when running the script, Sketch crashes
How to reproduce:
use {require('./path/to/local/asset.png')} as image source
Sketch version:
47.1
I believe images only work with the beta version. Latest version being 'v1.0.0-beta.5'? Are you using the beta version?
Hi @LincMitch and thanks for the reply, yes im using "react-sketchapp": "^1.0.0-beta.5" as of right now, they work fine when uring an URL tho
reopening due to having same issue after updating (unless im missing something)
I tried:
<Image source={require('./path/to/image.png')} />
second attempt:
const ImageTest = require('./path/to/image.png');
<Image source={ImageTest} />
I do appreciate the help and many thanks for looking into this!!
what version of skpm are you using?
the SKPM/Builder?
"@skpm/builder": "^0.2.0"
skpm version: skpm 1.0.10
I started a new install and still have the same issue
Most helpful comment
I started a new install and still have the same issue