Home

Issue: 1795

Proposal: django-like nested apps.

[issue link]

Currently we have a single global folder for the app, with subfolders of ~/pages/, ~/components/, ~/store/ etc. For a big project with some submodules it may become quite messy, effectively making modularity impossible. Given an application with two submodules, dashboard and shop, I wonder if we could somehow achieve a file structure like the following:

/
  /apps
    /dashboard
      /pages
      /components
      /store
    /shop
      /pages
      /components
      /store
  nuxt.config.js   # here or anywhere else specifying endpoints for two before-mentioned apps
  ...

So, what do you think?

This feature request is available on Nuxt.js community (#c1610)