hello vuew

missytake
missytake 2020-06-20 14:34:25 +02:00
parent ae818f6a9a
commit 890a06aff8
3 changed files with 37 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ venv
pizzatool.sqlite
__pycache__
*.swp
.idea/

36
index.html Normal file
View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<title>Pizza belegen für Dummies</title>
<script src="https://unpkg.com/vue"></script>
</head>
<body>
<div id="app">
{{ message }}
</div>
<div id="app-2">
<span v-bind:title="message">
Hover your mouse over me for a few seconds
to see my dynamically bound title!
</span>
</div>
<script>
var app = new Vue({
el: '#app',
data: {
message: 'Hello Vue!'
}
})
</script>
<script>
var app2 = new Vue({
el: '#app-2',
data: {
message: 'You loaded this page on ' + new Date().toLocaleString()
}
})
</script>
</body>
</html>

0
js/index.js Normal file
View File