Skip to content

Commit 0ee6efe

Browse files
author
Shaun Pelling
committed
added lesson 1 code
1 parent 0e6e94c commit 0ee6efe

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

app.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
new Vue({
2+
el: '#vue-app',
3+
data: {
4+
name: 'Shaun'
5+
}
6+
});

index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>VueJS Tutorials</title>
6+
<link href="styles.css" rel="stylesheet" />
7+
<script src="https://unpkg.com/vue"></script>
8+
</head>
9+
<body>
10+
<div id="vue-app">
11+
<h1>Hey, {{ name }}</h1>
12+
</div>
13+
</body>
14+
15+
<script src="app.js"></script>
16+
</html>

styles.css

Whitespace-only changes.

0 commit comments

Comments
 (0)