charles
2024-06-05 fefe4a3011fb472788abb2e7ffdbbc5a4f58623c
src/App.vue
@@ -1,32 +1,19 @@
<template>
  <div id="app">
    <nav>
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>
    </nav>
    <router-view/>
    <router-view></router-view>
  </div>
</template>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
<script>
export default {
  name: 'app',
}
</script>
nav {
  padding: 30px;
  a {
    font-weight: bold;
    color: #2c3e50;
    &.router-link-exact-active {
      color: #42b983;
    }
<style>
  body{
    margin: 0px;
    padding: 0px;
  }
}
</style>