Home > @unseenco/backstage-core > IProject > getAssetUrl
IProject.getAssetUrl() method
Returns the URL for an asset.
Signature:
typescript
getAssetUrl(asset: Asset | File): string | undefined;Parameters
| Parameter | Type | Description |
|---|---|---|
| asset | Asset | File | The asset to get the URL for |
Returns:
string | undefined
The URL for the asset, or undefined if the asset is not found