The rootDir Property
Define the workspace directory of your Nuxt.js application.
This property will be overwritten by nuxt commands if an argument is passed to them. Eg running
nuxt ./my-app/ will set the
rootDir to the absolute path of
./my-app/ from the current/working directory
Because of that its normally not needed to configure this option unless you will use Nuxt.js programmatically.