Installation

Add nuxt-driver.js to your Nuxt application in two steps.

Install the package

Add the package to your project

Register the module

Add the module to your nuxt.config file

ts

nuxt.config.ts

export default defineNuxtConfig({
  modules: ["nuxt-driver.js"],
});
All Done
That is it. The useDriver composable is now globally auto-imported in your application and the driver.js CSS is injected automatically.