Setup

Learn how to setup nuxt-battery module in your Nuxt 3 application.

nuxt-battery

Installation

Add nuxt-battery dev dependency to your project:

yarn
yarn add nuxt-battery
npm
npm install nuxt-battery

Then, add nuxt-battery to the modules section of your Nuxt configuration:

nuxt.config.js|ts
export default {  modules: ['nuxt-battery'],}
Try the demo here.