bolt

On this page

Compiling assets

We use tailwind Css and custom themes by filament, make sure you are familiar with tailwindcss configuration, and how to make a custom filament theme.

Custom Classes

You need to add these files to your tailwind.config.js file in the content section.

  • frontend:
1content: [
2 //...
3 './vendor/lara-zeus/core/resources/views/**/*.blade.php',
4 './vendor/lara-zeus/bolt/resources/views/themes/**/*.blade.php',
5]
  • filament:
1content: [
2 //...
3 './vendor/lara-zeus/bolt/resources/views/filament/**/*.blade.php',
4 './vendor/lara-zeus/accordion/resources/views/**/*.blade.php',
5]

Customizing the Frontend Views

First, publish the config file:

1php artisan vendor:publish --tag=zeus-config

Then change the default layout in the file zeus.php:

1'layout' => 'components.layouts.app',
2// this is assuming your layout on the folder `resources/views/components/layouts/app`

This will give you full control for the assets files and the header and the footer.

If needed, you can publish the blade views for all zeus packages:

1php artisan vendor:publish --tag=zeus-views

Zeus is an open-source project. Thanks to my sponsors for helping me maintain this project.