Skip to content

Commit 3b5acd1

Browse files
committed
Register button components using PascalCase
Registering components using pascal casing so that both PascalCase and kebab-case can be used for the components in vue. This resolves issue 23
1 parent 6a668d3 commit 3b5acd1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ if (!IS_WEB_BUNDLE) {
3232
function install(vue: typeof Vue, options: Options = { useCache: true }) {
3333
optionsStore.value = options;
3434

35-
vue.component('gh-btns-star', Star);
36-
vue.component('gh-btns-fork', Fork);
37-
vue.component('gh-btns-watch', Watch);
38-
vue.component('gh-btns-follow', Follow);
35+
vue.component('GhBtnsStar', Star);
36+
vue.component('GhBtnsFork', Fork);
37+
vue.component('GhBtnsWatch', Watch);
38+
vue.component('GhBtnsFollow', Follow);
3939
}
4040

4141
if (typeof window !== 'undefined' && window.Vue) {

0 commit comments

Comments
 (0)