-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (26 loc) · 822 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=500, initial-scale=1.0">
<title>HTML 5 With Routing</title>
<script src="https://unpkg.com/vue@3.2.26/dist/vue.global.prod.js"></script>
<script src="https://unpkg.com/vue-router@4.0.12/dist/vue-router.global.prod.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="app">
<h1>Hello App!</h1>
<p>
<router-link to="/">Go to Home</router-link>
<br>
<router-link to="/about">Go to About</router-link>
</p>
<router-view></router-view>
</div>
</body>
<script src="assets/scripts/components.js"></script>
<script src="assets/scripts/routes.js"></script>
<script src="script.js"></script>
</html>