如何删除在Favicon旁边出现的”Laravel”文本。

huangapple go评论45阅读模式
英文:

How to remove the text Laravel appearing next to Favicon

问题

我有一个小问题,我的页眉上出现了文字 "Laravel"。

Laravel 版本是 10.13.5。

英文:

I have a minor issue where there is a text "Laravel" appearing on my header.

Laravel Version is 10.13.5

答案1

得分: 2

与网站图标旁边的文本只是页面的标题。您可以在您的布局文件中找到它(默认为 app.blade.php

<title>{{ config('app.name', 'Laravel') }}</title>

默认情况下,Laravel 使用 .env 文件中的 APP_NAME 作为标题。您可以将其更改为您的应用程序名称,或根据需要直接修改标题。

英文:

The text next to favicon is just the title of the page. You can find it in your layout file (by default app.blade.php)

&lt;title&gt;{{ config(&#39;app.name&#39;, &#39;Laravel&#39;) }}&lt;/title&gt;

By default, Laravel gives APP_NAME from .env as title. You can either change it to your app name OR directly modify the title as per your requirement

答案2

得分: 0

定位HTML布局文件:在Laravel中,HTML布局文件通常位于resources/views/welcome.blade.php或resources/views/layouts目录中。查找名为app.blade.php的文件。

搜索<title>Laravel</title>并删除。

英文:

Locate the HTML layout file: In Laravel, the HTML layout file is usually located in the resources/views/welcome.blade.php or resources/views/layouts directory. Look for a file named app.blade.php

Search <title>Laravel</title> and delete.

huangapple
  • 本文由 发表于 2023年6月16日 01:34:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76484191.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定