{kind: "Image", src: "images/AImage1.png"}But I find I need to define the path, assuming my project is in /source/lib/MyProj like this:
{kind: "Image", src: "lib/MyProj/images/AImage1.png"}Is there a cleaner (more generic way) to to this? This path also assumes (maybe that's okay) that an installed submodule path will be the same for all projects?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
This works form the main project: But it doesn't work within the submodule. Within the submodule I would expect to reference the local path "images/AImage1.png" but it can't find it. If I try to reference the variable, I get a 404 in the console So I have to use "lib" instead of "$lib", this just doesn't feel right.