I have the following code and I need to insert a '/' in my href property.
<template for:each={assetData} for:item="item" for:index="indexvar">
<tr class="slds-hint-parent" key={item.Id}>
<td>
{item.Name}
</td>
<td>
<a href={item.Id} target="_blank">{item.Account.Name}</a>
</td>
</tr>
</template>
On aura component, I can easily do something like
<a href="{!'/' + item.Id}" target="_blank">{!item.Account.Name}</a>
But lwc does not allow me to do the same.