App Layout

It's like the blueprint for your digital home. The Application Layout component sets up the structure for your app, laying out where everything goes so users can navigate smoothly. It's like having a comfy couch and a clear path to the fridge in your living room—you just feel at home!

Adding the component

php artisan spur:add layouts/app

If you use this to add the component, it will automatically add it to config/spur.php and auto-fetch the components files.

config/spur.php
"components": [
  'layouts/app',
]

If you manually add the component in config/spur.php you would need to run
php artisan spur:fetch to import the component

Usage

Example

Options

Colors

<x-spur.app
  color=""   
>
  <x-slot name="left"></x-slot>
  <x-slot name="leftBottom"></x-slot>
  <x-slot name="navigation"></x-slot>
</x-spur.app>