Skip to content

Commit

Permalink
fix: use a multi-word name for components.
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho committed Dec 8, 2021
1 parent b6c5d69 commit 09282e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/playground/vue/src-import/script.ts
@@ -1,11 +1,11 @@
import { defineComponent } from 'vue'
import A from './srcImportStyle.vue'
import B from './srcImportStyle2.vue'
import SrcImportStyle from './srcImportStyle.vue'
import SrcImportStyle2 from './srcImportStyle2.vue'

export default defineComponent({
components: {
A,
B
SrcImportStyle,
SrcImportStyle2
},
setup() {
return {
Expand Down
4 changes: 2 additions & 2 deletions packages/playground/vue/src-import/template.html
@@ -1,5 +1,5 @@
<h2>SFC Src Imports</h2>
<div class="src-imports-script">{{ msg }}</div>
<div class="src-imports-style">This should be tan</div>
<a></a>
<b></b>
<SrcImportStyle></SrcImportStyle>
<SrcImportStyle2></SrcImportStyle2>

0 comments on commit 09282e7

Please sign in to comment.