Splash.png as page background


How can I use resources/splash.png as the background of a page?



<ion-content padding class="bg-splash">


.bg-splash {
  background: url('resources/splash.png') no-repeat;
  background-size: cover;


The resources folder is not part of your app. The files in there are copied over to the platform at the build process.
If you want to use them, best copy the file over to assets and use it like normal.
Maybe there is also a native way to get the splash that is part of the app bundle, but I am not sure and don’t know how.


Thanks Jan. Just knowing it’s not possible is a big help.


Well, I don’t know how :wink: That might be a difference :stuck_out_tongue: