|
@@ -3,17 +3,17 @@
|
|
<h1>Shopping Cart Example</h1>
|
|
<h1>Shopping Cart Example</h1>
|
|
<hr>
|
|
<hr>
|
|
<h2>Products</h2>
|
|
<h2>Products</h2>
|
|
- <product-list></product-list>
|
|
|
|
|
|
+ <ProductList/>
|
|
<hr>
|
|
<hr>
|
|
- <cart></cart>
|
|
|
|
|
|
+ <ShoppingCart/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import ProductList from './ProductList.vue'
|
|
import ProductList from './ProductList.vue'
|
|
-import Cart from './Cart.vue'
|
|
|
|
|
|
+import ShoppingCart from './ShoppingCart.vue'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
- components: { ProductList, Cart }
|
|
|
|
|
|
+ components: { ProductList, ShoppingCart }
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|