hotwax / dxp-components

DXP Components
Apache License 2.0
11 stars 17 forks source link

Fixed: issue in image component to render the apps local images correctly(#266) #268

Closed ymaheshwari1 closed 4 months ago

ymaheshwari1 commented 4 months ago

Related Issues

Closes #266

Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

Is the changes contains any breaking change?

If there are any breaking change include those in the release notes file

If using the DxpImage component from the package, update the src prop to pass a local data property containing the the assets url instead of directly using require with assets url in props. Also if using local image component, update it to use DxpImage component.

<DxpImage :src="emptyState" alt="empty state" />
.
.
emptyState: require('../assets/images/empty-state.png')

Contribution and Currently Important Rules Acceptance