Static GitHub Issues

[1621] node_modules not in root dir

prev: Manually reordering routes
next: Run "nuxt serve" under subpath (/prefix)

I want to keep my node_modules in /package, not next to the code - normally I can easily achieve this by changing resolve and module loader paths in the webpack config (along with changing NODE_PATH). Unfortunately, it doesn't seem to work with Nuxt because of server-side rendering. This appears to come from a bug in the 'resolve' package, which vue-server-renderer depends on, but I'd like to be able to specify the modules path easily with nuxt, and not have it be quite such a big ordeal.

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