How can i see image on build my ionic v2 app?


#1

Hello
I encountered a problem with the build of my ionic application.
When I use ionic serve I see my image well in the application, but if I do the build then I could not see the image neither in the android and ios
i use the code with two different ways and no result with ionic build just in ionic serve i can see’t.
Code :

// page.html :
<div style="text-align: center" >   
<img  src="../assets/images/Barcodeicon.png"  (click)="click()" >
</div>
OR
//pgae.scss :
img{
	background-image: url('../assets/images/Barcodeicon.png');
}

My system information:

Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
ios-deploy version: Not installed
ios-sim version: 5.0.9
OS: Mac OS X Sierra
Node Version: v7.0.0
Xcode version: Xcode 8.1 Build version 8B62