From 33da1d4ac65f5a75c603b91b9ea9cec5f027c4c8 Mon Sep 17 00:00:00 2001 From: bwbl Date: Tue, 13 Jan 2026 13:51:31 +0100 Subject: [PATCH] finished L2 --- index.html | 9 ++++----- main.js | 10 +++++++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 0c191c9..6851632 100644 --- a/index.html +++ b/index.html @@ -6,14 +6,13 @@ - + + +
-

Product goes here

+

{{ product }}

- - - diff --git a/main.js b/main.js index aedc73d..e915888 100644 --- a/main.js +++ b/main.js @@ -1 +1,9 @@ -const product = 'Socks' +const app = Vue.createApp({ + data() { + return { + product: 'Boots' + } + } +}).mount('#app'); + +app.product = "test"