From the course: Learning Nuxt.js

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

What are Nuxt Modules?

What are Nuxt Modules?

- [Instructor] Nuxt modules are a way of extending the core functionalities of your Nuxt app. Nuxt is built to be modular in nature and the benefit of having a modular architecture is that it can be extended and customized to fit your applications need. Modules are functions that are called when the Nuxt app is booting and the framework waits for each module to finish before continuing. Nuxt modules can perform useful tasks like overriding templates, configuring webpack loaders, and adding CSS libraries. You can export a module into MPM packages and make them reusable across different projects. There is an ecosystem of production ready modules made by the core team and the community. Over 100 plus modules and counting are available for you to use in your app. To use a module, you need to install the module and register it in your Nuxt config file under the module's property. Modules are executed sequentially so the…

Contents