Newer
Older
sample-vue-router / src / App.vue
<template>
  <div id="app">
    <nav>
      <ul>
        <li><router-link to="/hoge/1">hoge</router-link></li>
        <li><router-link to="/fuga">fuga</router-link></li>
        <li><router-link to="/piyo">piyo</router-link></li>
      </ul>
    </nav>
    <router-view></router-view>
  </div>
</template>

<style scoped>
nav ul li {
  display: inline;
}

nav ul li + li{
  margin-left: 1.5em;
}
</style>

<script>

</script>