Replies: 1 comment
-
I was able to setup skia web for
'react-native/Libraries/Image/AssetRegistry': path.resolve(
__dirname,
'..',
'node_modules',
'react-native-web/dist/modules/AssetRegistry',
),
import {LoadSkiaWeb} from '@shopify/react-native-skia/lib/module/web';
LoadSkiaWeb({
locateFile: file => `/static/js/${file}`,
}); Don't forget to check http://localhost:6006 > dev tools > console and sources to troubleshoot. 😉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to use it with skin in my components project
but I got an error when I came to the web
I reproduce this error in the repo
https://github.com/YOEL311/storybookPublic
reproduce step
I tried all ways from this page but I already get the error
https://shopify.github.io/react-native-skia/docs/getting-started/web
Can you please provide me with a working example of Skia in React Native CLI (not Expo)?
Beta Was this translation helpful? Give feedback.
All reactions