Compare commits

..

No commits in common. "33da1d4ac65f5a75c603b91b9ea9cec5f027c4c8" and "8d5ddd851e0d29f9ba073bcc94a719307c0f5238" have entirely different histories.

2 changed files with 6 additions and 13 deletions

View File

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

10
main.js
View File

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