From 3a3c22af33f8d758e5067224d21600c1996f03b4 Mon Sep 17 00:00:00 2001 From: modbender <{ID}+{username}@users.noreply.github.com> Date: Sun, 4 Feb 2024 20:24:58 +0530 Subject: [PATCH] feat: remove mode for component import --- playground/components/{TipTap.client.vue => TipTap.vue} | 0 .../{TipTapLowlight.client.vue => TipTapLowlight.vue} | 0 src/module.ts | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) rename playground/components/{TipTap.client.vue => TipTap.vue} (100%) rename playground/components/{TipTapLowlight.client.vue => TipTapLowlight.vue} (100%) diff --git a/playground/components/TipTap.client.vue b/playground/components/TipTap.vue similarity index 100% rename from playground/components/TipTap.client.vue rename to playground/components/TipTap.vue diff --git a/playground/components/TipTapLowlight.client.vue b/playground/components/TipTapLowlight.vue similarity index 100% rename from playground/components/TipTapLowlight.client.vue rename to playground/components/TipTapLowlight.vue diff --git a/src/module.ts b/src/module.ts index bf4494c..a49468c 100644 --- a/src/module.ts +++ b/src/module.ts @@ -54,7 +54,7 @@ export default defineNuxtModule({ for (const obj of allImports.defaultComponents) { addComponent({ - mode: "client", + // mode: "client", name: `${options.prefix}${obj.name}`, export: obj.name, filePath: obj.path, @@ -90,7 +90,7 @@ export default defineNuxtModule({ for (const obj of optionalComponents) { addComponent({ - mode: "client", + // mode: "client", name: `${options.prefix}${obj.name}`, export: obj.name, filePath: obj.path, @@ -106,6 +106,6 @@ export default defineNuxtModule({ nuxt.options.css = [...nuxt.options.css, ...customCSS]; - console.log("Tiptap Editor initialized"); + console.info("Tiptap Editor initialized"); }, });