diff --git a/index.html b/index.html index 535269a..75495fd 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@
-
Cart({{ cart.length }})
+
Cart({{ cart }})
diff --git a/main.js b/main.js index 73bdcdc..c252e16 100644 --- a/main.js +++ b/main.js @@ -1,7 +1,7 @@ const app = Vue.createApp({ data() { return { - cart: [], + cart: 0, premium: true } },