mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
30 lines
906 B
HTML
30 lines
906 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Iris + Vue Router</title>
|
|
<script src="https://unpkg.com/vue/dist/vue.js"></script>
|
|
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>
|
|
<link rel="stylesheet" href="/css/page.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app">
|
|
<h1>Hello App!</h1>
|
|
<p>
|
|
<!-- use router-link component for navigation. -->
|
|
<!-- specify the link by passing the `to` prop. -->
|
|
<!-- `<router-link>` will be rendered as an `<a>` tag by default -->
|
|
<router-link to="/foo">Go to Foo</router-link>
|
|
<router-link to="/bar">Go to Bar</router-link>
|
|
</p>
|
|
<!-- route outlet -->
|
|
<!-- component matched by the route will render here -->
|
|
<router-view></router-view>
|
|
</div>
|
|
<script src="/js/app.js"></script>
|
|
</body>
|
|
|
|
</html> |