Created
March 24, 2018 06:36
-
-
Save mfaridzia/6235e6d400c679327e3426b31d492ac3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title> Vue Transisi </title> | |
</head> | |
<body> | |
<div id="app"> | |
<nav class="menu"> | |
<ul> | |
<li> <router-link to="/"> HOME </router-link> </li> | |
<li> <router-link to="/about"> ABOUT </router-link> </li> | |
</ul> | |
</nav> | |
<transition name="fade"> | |
<router-view> </router-view> | |
</transition> | |
</div> | |
<script src="unpkg.com/vue"></script> | |
<script src="https://unpkg.com/vue-router@3.0.1/dist/vue-router.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment