format with prettier
This commit is contained in:
parent
507efa5fdd
commit
b140453513
|
@ -1,9 +1,9 @@
|
|||
const app = Vue.createApp({
|
||||
data() {
|
||||
return {
|
||||
counter: 0,
|
||||
};
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
counter: 0,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
app.mount('#events');
|
||||
app.mount("#events");
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in New Issue