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

15 lines
273 B
JavaScript

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