Closed
Description
How can I load compiled files from a subfolder?
I want to create a project with such file architecture:
/webassembly/
├ index.html
├ css/
├ js/
└ wasm/
├ example.cpp
├ example.js (generated by emscripten)
└ example.wasm (generated by emscripten)
I'm using that emcc command syntax:
I'm loading example.js file by that markup:
Finally, the console is showing me that error:
I did some research, but I didn't find any way to solve that problem.
Keeping all files in the root directory isn't good idea :/
Metadata
Metadata
Assignees
Labels
No labels