Created
December 25, 2017 13:50
-
-
Save jasperf/c1ccc7b0e6d5997ff8874f63927c142d to your computer and use it in GitHub Desktop.
Vue Store App.vue file
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
<template> | |
<div id="app"> | |
<nav> | |
<div class="container"> | |
<ul class="nav__left"> | |
<!-- Navigation Links --> | |
<li><router-link to="/">Home</router-link></li> | |
<li><router-link to="/admin">Admin</router-link></li> | |
<li><router-link to="/cart">Cart</router-link></li> | |
</ul> | |
</div> | |
</nav> | |
<router-view></router-view> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'app', | |
}; | |
</script> | |
<style> | |
#app { | |
font-family: 'Avenir', Helvetica, Arial, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
text-align: center; | |
color: #2c3e50; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment