Nuxt Areas

Nuxt Areas

Scalable Folder Management for large Nuxt Projects


Description

Scalable Folder Management for Large Nuxt Projects

Overview

Nuxt Areas is a Nuxt module that allows you to group related assets—such as pages, stores, and components—into distinct folders called areas.

Benefits of Co‑locating Files

  • Simplifies working on isolated functional units (e.g., products or users)
  • Enhances overall comprehension of the site’s purpose
  • Clarifies how related files interact
  • Reduces navigation across deep folder hierarchies
  • Provides a clear home for components, classes, and data
  • Streamlines naming conventions and shortens import paths

Global Concerns Remain Root‑Based

Elements that are globally relevant to Nuxt—such as plugins, modules, and static files—continue to reside in the project root. This keeps the site’s structure intuitive.

Integration with Nuxt Routing

Like standard Nuxt, Areas automatically generates routes from pages and registers stores and components. Additionally, you can import areas from external sources, enabling a no‑code approach for sharing or modularizing parts of your application.


Creator

Dave Stewart
@dave_stewart

Related Projects

ScriptShifter

ScriptShifter

Auto-convert Vue Components from Options API to Script Setup

rstore

rstore

Reactive Data Store

Nuxt Auth Sanctum

Nuxt Auth Sanctum

Nuxt Module for Laravel Sanctum Authentication

Nuxt MCP Toolkit

Nuxt MCP Toolkit

Expose your Nuxt App to any LLM

vue.ts

vue.ts

Enhanced TypeScript Support for Vue.js

vue-flow-vis

vue-flow-vis

Vue Reactivity Tracker