Why does it appear on my web page tab that Laravel is written? I want to change this
How exactly ?
resources/views/layout/master.blade.php
<title>{{ $title. ' | '.config('app.name', 'Laravel') }}</title>
and i want to pass that from my controller
public function profile()
{
..................
$pageOptions = [
"title" => "Profile Update",
..................
];
return view("pages.dashboards.profile",$pageOptions);
}
app/View/Components/DefaultLayout.php
resources/views/layout/master.blade.php
You can modify the title tag in the master.blade.php file.
Open the master.blade.php file located in the /resources/views/layout/ directory.
Look for the <title> tag within the <head> section of the HTML.
Update the content of the <title> tag to the desired title for your web page.
Thanks