I am creating a project through tauri and react to display images and videos in high definition. I would like to embed the folder with all the assets with the project (about 4 gb).
I tried putting the folder directly into the “public” folder but tauri can’t make the build of the app.
I would like to use the best solution in terms of performance because since the images and videos are very large I need to be able to view them without lag.
Are there any other ways? Where is it best to place the folder?
I tried moving the folder and embedding it as a folder to add to the build but then I didn’t quite understand how to access the asset from the frontend.
1