Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 9742982

Browse files
authored
Merge pull request #228 from asigloo/bugfix/camelcase-component-issue
Pascalcase Component naming
2 parents c3db26f + 9a74696 commit 9742982

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demos/vue-3/src/views/Basic.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class="absolute inset-0 bg-gradient-to-r from-blue-400 to-green-200 shadow-xl transform -skew-y-3 sm:skew-y-0 sm:-rotate-3 sm:rounded-3xl"
66
></div>
77
<div class="relative card p-6 bg-white">
8-
<dynamic-form
8+
<DynamicForm
99
:form="form"
1010
@submitted="handleSubmit"
1111
@change="valueChanged"

src/dynamicForms.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function createDynamicForms(
2121
install(app: App) {
2222
const self = this;
2323

24-
app.component('dynamic-form', DynamicForm);
24+
app.component('DynamicForm', DynamicForm);
2525
app.provide(dynamicFormsSymbol, self);
2626
},
2727
};

0 commit comments

Comments
 (0)