Skip to content

Commit f738cb1

Browse files
hootlexktsn
authored andcommitted
make component name multi-word and use it with PascalCase (vuejs#1131)
1 parent e89e193 commit f738cb1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/shopping-cart/components/App.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
<h1>Shopping Cart Example</h1>
44
<hr>
55
<h2>Products</h2>
6-
<product-list></product-list>
6+
<ProductList/>
77
<hr>
8-
<cart></cart>
8+
<ShoppingCart/>
99
</div>
1010
</template>
1111

1212
<script>
1313
import ProductList from './ProductList.vue'
14-
import Cart from './Cart.vue'
14+
import ShoppingCart from './ShoppingCart.vue'
1515
1616
export default {
17-
components: { ProductList, Cart }
17+
components: { ProductList, ShoppingCart }
1818
}
1919
</script>

0 commit comments

Comments
 (0)