Overview
LaraCMS provides extensive customization options for views, themes, and styling. The application uses Tailwind CSS v4, Livewire Flux components, and Blade templates for a modern, responsive design.View Structure
LaraCMS organizes views in a structured hierarchy:Layout Components
The main layout file is located atresources/views/components/layout.blade.php and includes:
- Navigation bar with authentication links
- Main content area using Blade slots
- Footer with social links and site information
- Livewire integration with
@livewireStylesand@livewireScripts
Styling System
Tailwind CSS Configuration
LaraCMS uses Tailwind CSS v4 with custom theming. The main stylesheet is located atresources/css/app.css:
Custom Theme Variables
Define custom color schemes in yourapp.css:
Dark Mode
Dark mode theming is implemented using custom variants:Customizing Views
Creating Custom Blade Components
Blade components are located inresources/views/components/. Common components include:
table.blade.php- Reusable table componentbutton.blade.php- Button component with variantsmodal.blade.php- Modal dialogsapp-logo.blade.php- Application logo
Example: Customizing the Table Component
The table component (resources/views/components/table.blade.php) can be customized:
Livewire Flux Components
LaraCMS uses Livewire Flux UI components with custom styling:Using Flux Components
Flux components are available throughout the application:Vite Configuration
Asset compilation is handled by Vite (vite.config.js):
Customization Best Practices
1. Override Layouts
Create custom layouts by extending base layouts:2. Use Component Slots
Leverage Blade component slots for flexible layouts:3. Extend Tailwind Classes
Add custom utility classes in yourapp.css:
4. Customize Livewire Views
Publish and modify Livewire component views:FontAwesome Integration
LaraCMS includes FontAwesome icons:Navigation Customization
Customize the navigation bar inresources/views/components/layout.blade.php:
Footer Customization
The footer includes social links and contact information:Next Steps
- Learn about Livewire Components
- Explore Artisan Commands
- Review the Configuration Guide