Skip to content

Commit

Permalink
Fix component multi word name lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Apr 23, 2022
1 parent a85b353 commit e0b89b2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions example/src/components/HomePage.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import Counter from './Counter.vue'
import SimpleCounter from './SimpleCounter.vue'
</script>

<template>
Expand All @@ -8,6 +8,6 @@ import Counter from './Counter.vue'
HomePage
</h1>

<Counter />
<SimpleCounter />
</article>
</template>
File renamed without changes.
4 changes: 2 additions & 2 deletions example/src/components/VueComposition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineComponent, computed, defineAsyncComponent } from 'vue'
export default defineComponent({
components: {
Counter: defineAsyncComponent(() => import('./Counter.vue')),
SimpleCounter: defineAsyncComponent(() => import('./SimpleCounter.vue')),
},
props: {
Expand Down Expand Up @@ -35,7 +35,7 @@ export default defineComponent({
v-if="num < 5"
:num="childNum"
/>
<Counter
<SimpleCounter
v-else
/>
</article>
Expand Down
4 changes: 2 additions & 2 deletions example/src/components/VueCompositionSetup.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts" setup>
import { computed, defineProps, ref } from 'vue'
import Counter from './Counter.vue'
import SimpleCounter from './SimpleCounter.vue'
const props = defineProps({
num: {
Expand Down Expand Up @@ -39,7 +39,7 @@ const message = ref<string | null>(null)
/>
</q-form>

<Counter />
<SimpleCounter />
</template>
</article>
</template>
Expand Down
4 changes: 2 additions & 2 deletions example/src/components/VueOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineComponent, defineAsyncComponent } from 'vue'
export default defineComponent({
components: {
Counter: defineAsyncComponent(() => import('./Counter.vue')),
SimpleCounter: defineAsyncComponent(() => import('./SimpleCounter.vue')),
},
props: {
Expand Down Expand Up @@ -34,7 +34,7 @@ export default defineComponent({
v-if="num < 5"
:num="childNum"
/>
<Counter
<SimpleCounter
v-else
/>
</article>
Expand Down

0 comments on commit e0b89b2

Please sign in to comment.