inertia
inertia copied to clipboard
The CSS class gets overwritten when using multiple layouts.
Discussed in https://github.com/inertiajs/inertia/discussions/1797
Originally posted by nikkhil31 February 12, 2024 I have two layouts:
- Main layout
- Admin layout Both layouts have different themes, hence different CSS.
When I visit the admin login through an inertia route, and then return to the home page, the admin CSS takes over the home CSS. What could be a possible solution? I have used React + vite