Has anyone had any experience with custom assets and where to place them within the project? I have an assets folders with images that are to be used within the app, and i tried placing it in the www folder, and while it works in the browser, the images can’t be reached in an emulator or a real device. If I place it within the build forlder, it works fine, but the build folder doesn’t really exist before the initial build, and it seems like there should be a better way.
Hmm, how are you referencing them? I’ve tried several paths and use this for now, but it doesn’t work on the device: <img [hidden]="title" class="logo" src="../img/logo.svg">
(So up one level from the build folder, and into the img-filder, but it seems the project doesn’t have access outside the build folder.)
Take in account that the relative paths from any html file are actually being called from the index.html path as that’s the entry point and all other html gets embedded in it.