πPage Structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title inertia>{{ config('app.name', 'Laravel') }}</title>
@routes
@viteReactRefresh
@vite(['resources/js/app.tsx', "resources/js/Pages/{$page['component']}.tsx"])
@inertiaHead
</head>
<body class="font-sans antialiased" data-pc-preset="preset-1" data-pc-sidebar-theme="light" data-pc-sidebar-caption="true"
data-pc-direction="ltr" data-pc-theme="light" data-pc-layout="vertical">
@inertia
</body>
<!-- [Body] end -->
</html>
Layout settings
Attribute
Description
data-pc-preset= "preset-1"
To set the your primary theme color you can change ['preset-1' to 'preset-10'] for different color.
data-pc-sidebar-theme = "light"
To set the Light color left Sidebar.
data-pc-sidebar-theme = "dark"
To set the Light color dark Sidebar.
data-pc-sidebar-caption = "true"
To set the caption on.
data-pc-sidebar-caption = "false"
To set the caption off.
data-pc-direction = "ltr"
To set the layout direction left to right.
data-pc-direction = "rtl"
To set the layout direction right to left.
data-pc-theme = "light"
To set the layout theme light.
data-pc-theme = "dark"
To set the layout theme dark.
Last updated