Static GitHub Issues

[3209] support nuxt organization by filename rather than directory name

prev: Weird transition between page and layouts/error.vue
next: middleware on page-reload is not called on process.client

What problem does this feature solve?

A more flexible app architecture.

What does the proposed changes look like?

Find nuxt modules by foo/foo.store.js and foo/foo.middleware.js rather than store/foo and middleware/foo.

My current workaround is disabling router, store, etc and importing all modules independently, but it would be nice to take full advantage of Nuxt.

<!--cmty--><div align="right"><sub><em>This feature request is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6874">#c6874</a>)</em></sub></div>