sandpack icon indicating copy to clipboard operation
sandpack copied to clipboard

Support for Image on the top imports

Open akhilpulikkal opened this issue 1 year ago • 3 comments

Bug report

Packages affected

  • sandpack-react

See I am developing a web site that is showing the code preview. so in that statis code i havess ome images to show. so how to show it. I am using sandpack-file explorer too. so i need to show that files over that. are these possible??, if fine, can anyone give me some example??

I am showing the images from sand-pack-code-preview?

Your Environment

Software Name/Version
Sandpack-react version ^2.10.0
Browser Chrome
Operating System Windows 11

akhilpulikkal avatar Jan 24 '24 06:01 akhilpulikkal

Hey anyone can help me on this?? Please its urgent

akhilpulikkal avatar Jan 25 '24 07:01 akhilpulikkal

Hey Team, Please help me. i am not able to continue from here, please help me, or please give me any reference??

akhilpulikkal avatar Jan 29 '24 16:01 akhilpulikkal

Hey @akhilpulikkal. Best way to achieve this right now is placing your images into your public folder so that you can reference it. Note that, doing so makes that image is also reachable in anywhere under your site.

mehmetpekcan avatar Feb 02 '24 22:02 mehmetpekcan

Hey @akhilpulikkal. Best way to achieve this right now is placing your images into your public folder so that you can reference it. Note that, doing so makes that image is also reachable in anywhere under your site.

Thanks @mehmetpekcan. it's work for me

akhilpulikkal avatar Feb 26 '24 07:02 akhilpulikkal