Compare commits

..

2 Commits

Author SHA1 Message Date
bwbl
33da1d4ac6 finished L2 2026-01-13 13:51:31 +01:00
Andy
6455348275 update cdn link 2021-04-09 15:40:25 -04:00
2 changed files with 13 additions and 6 deletions

View File

@ -6,14 +6,13 @@
<!-- Import Styles -->
<link rel="stylesheet" href="./assets/styles.css" />
<!-- Import Vue.js -->
<script src="https://unpkg.com/vue@3.0.0-beta.12/dist/vue.global.js"></script>
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<!-- Import Js -->
<script type="module" src="./main.js"></script>
</head>
<body>
<div id="app">
<h1>Product goes here</h1>
<h1>{{ product }}</h1>
</div>
<!-- Import Js -->
<script src="./main.js"></script>
</body>
</html>

10
main.js
View File

@ -1 +1,9 @@
const product = 'Socks'
const app = Vue.createApp({
data() {
return {
product: 'Boots'
}
}
}).mount('#app');
app.product = "test"