12345678910111213141516171819202122 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" type="text/css" href="./assets/css/style.css">
- <title>Product app</title>
- </head>
- <body>
- <div class="nav-bar"></div>
- <div id="app">
- <div class="cart">
- <p>Cart({{cart.length}})</p>
- </div>
- <product :is-premium="isPremium" @add-to-cart="updateCart" @remove-from-cart="removeItem"></product>
- </div>
- <script src="./assets/js/vue.js"></script>
- <script src="main.js"></script>
- </body>
- </html>
|