In case of an existing Nuxt project, run yarn add -dev and add the module to the list of buildModules in Install a Nuxt project using yarn create nuxt-app and choose TailwindCSS as a UI framework from the configuration selection.In short, you follow the simple steps below to enable dark/light mode with TailwindCSS and Nuxt color mode module: With TailwindCSS and the proper Nuxt.js (Nuxt) modules, we can easily enable this feature, with the ability to customize each mode's look-and-feel to your taste. Dark and light mode support has been a recent trend due to the impact on our eye sights caused by the time spent on devices.