format with prettier

This commit is contained in:
Andreas Zweili 2021-01-18 17:40:53 +01:00
parent 507efa5fdd
commit b140453513
2 changed files with 19 additions and 19 deletions

View File

@ -1,9 +1,9 @@
const app = Vue.createApp({
data() {
return {
counter: 0,
};
},
data() {
return {
counter: 0,
};
},
});
app.mount('#events');
app.mount("#events");

View File

@ -1,26 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vue Basics</title>
<link
href="https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
<script src="https://unpkg.com/vue@next" defer></script>
<script src="app.js" defer></script>
</head>
<body>
</head>
<body>
<header>
<h1>Vue Events</h1>
<h1>Vue Events</h1>
</header>
<section id="events">
<h2>Events in Action</h2>
<button>Add</button>
<button>Remove</button>
<p>Result: {{ counter }}</p>
<h2>Events in Action</h2>
<button>Add</button>
<button>Reduce</button>
<p>Result: {{ counter }}</p>
</section>
</body>
</body>
</html>