Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
fix: nuxt component name concatenation in module.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Jan 4, 2024
1 parent 881e062 commit 4c18369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineNuxtModule<ModuleOptions>({
if (options.autoImportComponents) {
motionComponents.forEach((component) => {
addComponent({
name: `${options.prefix}${component}`,
name: options.prefix ? `${options.prefix}${component}` : component,
export: component,
filePath: '@oku-ui/motion',
})
Expand Down

0 comments on commit 4c18369

Please sign in to comment.