Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add how to publish the mobile headers #586

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions 6.x/base-how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ Starting with Backpack v6, we have multiple themes. Each theme provides some con

Please take a look at your theme's config file or README on Github, to see what you can change and how.

<a name="publish-mobile-and-favicon-headers-and-assets"></a>
### Publish mobile and favicon headers and assets

A very common use case is that your users bookmark or add your admin panel to their home screen on their mobile devices. In order to make that experience better, you can publish the mobile and favicon headers and assets. You can do that by running:

```bash
php artisan backpack:publish-header-metas
```

This will ask you a few questions and then publish the necessary files. You can then customize them as you please to fit your branding.
Files that already exist will not be replaced, so if you want to re-publish Backpack files you need to delete the already published first.


<a name="create-a-new-theme"></a>
### Create a new theme / child theme
Expand Down