From 5ab9b3db4b26fb19db6329a0843947e84dde7031 Mon Sep 17 00:00:00 2001 From: Arina Yakovenko Date: Mon, 8 Jul 2024 12:53:06 +0200 Subject: [PATCH] add some files --- modules/module.ts | 14 +++++++++++++- package.json | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/modules/module.ts b/modules/module.ts index d61c97a..8c6d26e 100644 --- a/modules/module.ts +++ b/modules/module.ts @@ -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({ filePath: resolver.resolve(item.path), }); } + + addImports([ + { + name: "useRipple", + from: resolver.resolve("../src/composables/useRipple.ts"), + }, + ]); }, }); diff --git a/package.json b/package.json index cf9b1f3..3edb7e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nuxt3-reusable-components", - "version": "1.2.5", + "version": "1.2.6", "private": false, "type": "module", "main": "index.js",