22 lines
333 B
Vue
22 lines
333 B
Vue
<template>
|
|
<nav>
|
|
<router-link to="/"> Home </router-link>
|
|
<router-link to="/config"> Config </router-link>
|
|
</nav>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'Nav',
|
|
props: {
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
<style scoped>
|
|
nav {
|
|
background-color: green;
|
|
}
|
|
</style>
|