I'm trying to discover nuxt
CLI capabilities as for every other npm lib (I wanted to know whether there is possibility to point to nuxt.config.js
from other place). So I try:
1. ./node_modules/.bin/nuxt --help
(with nuxt
in dependencies in package.json
)
2. nuxt --help
(with nuxt
installed globally)
In both cases I get:
> No `pages` directory found. Did you mean to run `nuxt` in the parent (`../`) directory?
and nothing more :-(
It would be great to have possibility to call nuxt
from any place, so it would fail on nuxt build
maybe, but not on nuxt --help
etc.
BTW: I have pages
directory same directory as where I run nuxt --help
, but same error appears... But it's outside the scope of this issue.