How to link to the public (frontend) view for a Nova resource?
Hi friends,
I am using Nova for the admin side of my project, and I am creating listings in the admin using Nova and they are rendered in blade and are listed on the front page of the website.
In my admin, I want to be able to click on the listing and view the public(frontend) listing page. For now, when I click on it, it gives me the "show" page inside Nova.
I feel silly to ask this question because I feel the answer should be easy and I am missing something,
Text::make('Show', function () {
// you can use $this to access the resource's underlying model attributes and relationships.
return '<a href=" ... here is the route to front page ... " target="_blank">show</a>';
})->asHtml(),