Route that displays a page with form?

How can I add a route that just displays a form - I think I'm very confused and doing this backwards. In fact one of my forms shows the form at the top and the HTML for the page at the bottom . . .it renders, but not well. Thoughts?
Route::get('/app_form', function () { return view('application_form'); })->name('business.send');
2 Replies
Patrick Boivin
Patrick Boivin13mo ago
What you have here is fine... create a Livewire component, follow the Filament Forms documentation, then render the component in your application_form view.
HeartlandTechie
HeartlandTechie13mo ago
Thank you!