diff --git a/package.json b/package.json index b1349a5..304d6b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dragon-editor", - "version": "2.1.0", + "version": "2.1.1", "description": "WYSIWYG editor on Nuxt.js", "repository": { "type": "git", diff --git a/src/module.ts b/src/module.ts index 17c3584..2ada50e 100644 --- a/src/module.ts +++ b/src/module.ts @@ -14,7 +14,7 @@ export default defineNuxtModule({ addComponent({ name: 'DragonEditor', - filePath: resolver.resolve('./runtime/shared/components/DragonEditor.ts') + filePath: resolver.resolve('./runtime/shared/components/DragonEditor') }); addComponent({ @@ -24,7 +24,7 @@ export default defineNuxtModule({ addComponent({ name: 'DragonEditorViewer', - filePath: resolver.resolve('./runtime/shared/components/DragonEditorViewer.ts') + filePath: resolver.resolve('./runtime/shared/components/DragonEditorViewer') }); } })