Nuxt command line pass arguments

Viewed 1161

I want to pass some arguments to nuxt command line like:

nuxt --myvar a

How to read this myvar inside nuxt.config.js?

I need this because I have 3 .env (localhost, production and development) files, but with current NODE_ENV I can use only 2 (production and development).

1 Answers
Related