Installation
Add nuxt-driver.js to your Nuxt application in two steps.
Register the module
Add the module to your nuxt.config file
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.