delete old unused files

This commit is contained in:
MarcZierle 2022-01-07 20:18:46 +01:00
parent 9b793ccfcb
commit 4c2ceb2ef9
3 changed files with 0 additions and 83 deletions

View File

@ -1,52 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/vue@next"></script>
</head>
<body>
<div id="app">
<h2>{{ title }}</h2>
<input :value="title" @input="title = $event.target.value" >
<input v-model="count" type="number" >
<button @click="increment">Up</button>
<button @click="decrement">Down</button>
</div>
<script>
const app = Vue.createApp({
data() {
return {
title: "Hi there",
count: 5,
headingColor: 'some'
}
},
watch: {
count() {
console.log(this.count)
}
},
methods: {
increment() {
this.count++
},
decrement() {
this.count--
},
isEven() {
return this.count % 2 === 0
}
}
})
const vm = app.mount('#app')
</script>
<style>
.even {
color: pink;
}
</style>
</body>
</html>

View File

@ -1,31 +0,0 @@
<template>
<div>
<h1>{{ title }}</h1>
</div>
</template>
<script>
// @group Sample Components
// just some sample code...
export default {
data() {
return {
// the title of the pages
title: "Hello"
}
},
methods: {
// @vuese
// clears something
clear() {
return true
}
}
}
</script>
<style lang="scss" scoped>
h1 {
color: red;
}
</style>

View File