library_components/index.js

14 lines
242 B
JavaScript
Raw Normal View History

2024-07-09 09:00:50 +00:00
import { defineNuxtModule } from "@nuxt/kit";
2024-07-08 09:15:33 +00:00
2024-07-09 09:00:50 +00:00
import { join } from "pathe";
export default defineNuxtModule({
hooks: {
"components:dirs"(dirs) {
dirs.push({
path: join(__dirname, "components"),
});
},
},
});