Configuration
This option lets you configure various settings for the build
step, including loaders
, filenames
, the webpack
config and transpilation
.
css
This option lets you define the CSS files, modules, and libraries you want to include globally (on every page).
dev
This option lets you define the development
or production
mode of Nuxt.js (important when you use Nuxt.js programatically)
env
This option lets you define environment variables that are available to both client and server.
generate
This option lets you set up parameter values for every dynamic route in your application that will be transformed into HTML files by Nuxt.js.
Documentation about head integration
loading
This option lets you customize the loading component that Nuxt.js uses by default.
Documentation about loading
integration
modules
With this option you can add Nuxt.js modules to your project.
Documentation about modules
integration
modulesDir
This option lets you define the node_modules folder of your Nuxt.js Application.
Documentation about integration
plugins
This option lets you define JavaScript plugins that should be run before instantiating the root Vue.js application.
Documentation about plugins
integration
This option lets you define the workspace of your Nuxt.js application.
router
With the router
option you overwrite the default Nuxt.js configuration of Vue Router.
Documentation about router
integration
server
This option lets you configure the connection variables for the server instance of your Nuxt.js application.
Documentation about server
integration
srcDir
This option lets you define the source directory of your Nuxt.js application.
Documentation about srcDir
integration
dir
This option lets you define the custom directories of your Nuxt.js application.
Documentation about integration
This option lets you define the default properties of the page transitions.