Layout Shells

Layout shells in an AdonisJS + Inertia app. Instead of a runtime layout chooser, each context has its own purpose-built shell that coexists as a distinct React component. Every page picks its shell explicitly by import. Use when adding a new page (which shell to import), when adding a new area of the app (which shell fits), or when someone proposes runtime configurability. Trigger on: "which layout", "shell", "sidebar", "top nav", "layout choice".

filipebraida f7c6b0d 5.4 KB Updated

File contents

filipebraida/adonisjs-starter-kit/tree/main/packages/skills/layout-shells commit f7c6b0d12a

Frequently asked questions

npx skillmds@latest add filipebraida/layout-shells