Home

Issue: 1621

node_modules not in root dir

[issue link]

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.

This question is available on Nuxt.js community (#c1447)