Nov 17, 2022
0
Level 1
How to use Vue components within a blade template in Laravel Nova 4
Any ideas on how to use Vue components within Laravel Nova 4 blade files? In the example below I was testing the <Link> component in the help method for a nova resource field. E.g
Nova Resource:
Text::make('Test Field', 'test')
->help(view('nova.more-info')->render()),
nova.more-info blade file:
HelpThe above just displays the https://echat.date unrendered Link tag in the browser with no errors. However the same code/ component renders as expected in a custom tool or field etc (.vue file).
Thank you for your time.
Please or to participate in this conversation.