We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resource.addResource([ { name: 'imageName', type: RESOURCE_TYPE.IMAGE, src: { image: { type: 'png', url: 'https://gw.alicdn.com/tfs/TB1DNzoOvb2gK0jSZK9XXaEgFXa-658-1152.webp', // url:'./test_png.webp', }, }, preload: true, }, ]);
Eva.js
The text was updated successfully, but these errors were encountered:
这和在正常页面中访问本地资源没有什么区别。eva.js不会对你输入的路径进行改变。
Sorry, something went wrong.
是根据你打包后,的资源相对路径来取的。
懂了,我应该是放到未打包的路径导致读取不了
No branches or pull requests
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce
Environment
Eva.js
version: e.g. 1.0.0The text was updated successfully, but these errors were encountered: