Skip to content

Commit

Permalink
feat: remove mode for component import
Browse files Browse the repository at this point in the history
  • Loading branch information
modbender authored and modbender committed Feb 4, 2024
1 parent 89d2175 commit 3a3c22a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default defineNuxtModule<ModuleOptions>({

for (const obj of allImports.defaultComponents) {
addComponent({
mode: "client",
// mode: "client",
name: `${options.prefix}${obj.name}`,
export: obj.name,
filePath: obj.path,
Expand Down Expand Up @@ -90,7 +90,7 @@ export default defineNuxtModule<ModuleOptions>({

for (const obj of optionalComponents) {
addComponent({
mode: "client",
// mode: "client",
name: `${options.prefix}${obj.name}`,
export: obj.name,
filePath: obj.path,
Expand All @@ -106,6 +106,6 @@ export default defineNuxtModule<ModuleOptions>({

nuxt.options.css = [...nuxt.options.css, ...customCSS];

console.log("Tiptap Editor initialized");
console.info("Tiptap Editor initialized");
},
});

0 comments on commit 3a3c22a

Please sign in to comment.