Skip to content

Instantly share code, notes, and snippets.



Created Aug 24, 2018
What would you like to do?
With a router
<!DOCTYPE html>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My Application</title>
<link rel="stylesheet" href="" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
<link rel="stylesheet" href="css/signin.css">
<div id="app">
<!-- 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="/login">Go to Login</router-link>
<router-link to="/">Go Home</router-link>
<script src=""></script>
<script src=""></script>
<script src=""></script>
<script src="js/app.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment