I’m working on a project in NativeScript with Angular and Typescript architecture, I’ve setup a background image for every page using CSS in app.css like this:
using it like:
When I run the application with “tns run” it works perfectly fine but when I use webpack(“npm run start-ios-bundle”), it doesn’t show anything.
- With jpeg and png image
- With images inside custom folder ("~/tools/assets/") and also with (“res://myimage”)
What am I doing wrong?