nuxt-fsd
Feature-Sliced Design for Nuxt 4+
Official FSD docs: https://feature-sliced.design/ LLM reference: https://feature-sliced.design/llms-full.txt
Core principle
FSD organizes code into layers with a strict dependency rule: each layer can only import from layers below it, never above or sideways. This prevents tangled dependencies — a widget never knows about a page that uses it, a feature never reaches into another feature, and an entity never depends on the UI that displays it.
FSD lives exclusively in src/. The Nuxt app/ directory is the runtime shell — it consumes FSD code from src/ but is not itself organized by FSD. Things like app/composables/, app/middleware/, app/plugins/, and app/layouts/ follow Nuxt conventions, not FSD layers.
FSD layers (all in src/)
Layers are ordered top (most specific) to bottom (most stable). Every layer can only import from layers below it.