library_components/index.js
2024-07-09 11:00:50 +02:00

14 lines
242 B
JavaScript

import { defineNuxtModule } from "@nuxt/kit";
import { join } from "pathe";
export default defineNuxtModule({
hooks: {
"components:dirs"(dirs) {
dirs.push({
path: join(__dirname, "components"),
});
},
},
});