add some files
This commit is contained in:
parent
00a8fc630e
commit
5ab9b3db4b
@ -1,5 +1,10 @@
|
||||
// modules/my-module.ts
|
||||
import { defineNuxtModule, createResolver, addComponent } from "@nuxt/kit";
|
||||
import {
|
||||
defineNuxtModule,
|
||||
createResolver,
|
||||
addComponent,
|
||||
addImports,
|
||||
} from "@nuxt/kit";
|
||||
|
||||
export interface ModuleOptions {}
|
||||
|
||||
@ -24,5 +29,12 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
filePath: resolver.resolve(item.path),
|
||||
});
|
||||
}
|
||||
|
||||
addImports([
|
||||
{
|
||||
name: "useRipple",
|
||||
from: resolver.resolve("../src/composables/useRipple.ts"),
|
||||
},
|
||||
]);
|
||||
},
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nuxt3-reusable-components",
|
||||
"version": "1.2.5",
|
||||
"version": "1.2.6",
|
||||
"private": false,
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user